Hi,
This can be achieved using DC motor driver LD298 , we can use Arduino to generate a timer you needed. or even actually you can buy ready to use motor driver shield for Arduino and you can start your project without any circuit knowledge. there is lot tutorial available on internet for it.
but it depends on your motor specification. let me know your motor specification or even it's picture. because not all DC motor can be driven by LD298. If you have bigger motor, then we must make our motor driver.
This can be achieved by circuit named H-bridge. I have experience did it when I built Differential drive mobile robot . it's a simple circuit with big implementation.
Let me know your motor first, then we can decide what you have to do. just PM me
Best Regards,
Rijal