I need a simple program for Arduino

Job ID: 33555486

Budget: $30 – $250 USD

I need to send signal to a relay to turn the relay on for X seconds and then turn off for X minutes then repeat. If possible I would like to have a toggle switch to change between two different time sequences as follows:
Position A- relay constant on
Position B- Relay on 5 seconds off 1 minute