it cut off when i stop on 1996 Ford Contour

I am at a stop sign or a stop light it will cut off and I have to re-start the car. Whenever the car is not in motion it will shut down. what could be wrong with it

Asked by for the 1996 Ford Contour
Worn main bearings. Low oil pressure will cut out the fuel pump.