DC Motor to Reverse Direction??? (PLEASE HELP)

Hi all.

I am very new to Arduino, but I need some help with a school project. If you take a look at the attached picture, how would I both setup and code the motor to rotate counterclockwise for a certain amount of time (enough time that would allow the hand sanitizer bottle to pump down), have the motor stop for one second, and then have the motor rotate clockwise for the same amount of time as the first rotation so that after it is all said and done, the motor will be back in the same position that it started in???? Again, I am very new to using Arduinos so the more descriptive/easy-to-understand the better. I am not sure if this makes a difference or not but what you can probably tell from the attached PDF is that this motor will be triggered by a motion sensor. Sorry to be too needy, but a quick reply would be so greatly appreciated, I am trying to work against a deadline and this is pretty much my only hope.

COVID KILLER 2.pdf (194 KB)

COVID KILLER.pdf (160 KB)

A SERVO may be a better motor to use providing it can give the torque required.
A regular dc motor would need more added to ensure it stops and starts at the correct positions or a crank mechanism.

As with any projects specifications of what you have at hand are crucial.
Along with proper pictures and links etc.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.