Design tips for a limited run-time motor circuit
It sounds like you need a non retriggerable monostable: -





Picture taken from and explanation provided by this website.

You need to add to this a MOSFET for driving the motor and you should be done: -



Choose a logic level MOSFET.