Sounds like you have a problem. First, the year and engine type would help. Lets assume its around 1990, 4cly. Has the fuel filter been changed? If not, could have lots of sediment in the filter, that might cause engine to stall, then restart. Does the engine restart right away? Is the engine hot when it happens? Has the fuel pump been replaced yet? Possible cause also, Injectors might be blocked. Possible might be the ign. module on the dist. Gets hot, and then shuts down. M.A.P ( master air pressure ) comes off the EGR with a small hose to a small sensor. Also, M.A.F. ( master air flow ) not working properly. This is in the air intake around the filter. Has the air filter been checked? Does the EGR valve work properly? Might need to be cleaned. So sorry for all the information, but, you have to eliminate all the above one by one. Start with the fuel. Good luck, and you can always leave me a message on my board with the model and engine. We can follow up from there.
Hope this link helps: http://www.trustmymechanic.com/auto-repair/22/1994-nissan-altima-engine-dies-while-driving-but-restarts-ok.html
catylatic converter is plugged
engine stalls sometimes driving
Alot of things.. bad gas.. No gas.. Engine is dead.. etc.
Overheating ? - Check radiator for water and coolant, and engine for enough oil and not old burnt oil
there is humidity in your engine control module
Died while driving? Alternator
Open a bit more the screw that regulates fuel input into the carburator.
Car engine dies will driving
The service engine soon light comes on when the engine computer has detected a malfunction and set a code. You need to have the system checked for codes to know possible causes.
If the engine restarts it is probably not an oil issue. The oil pressure will go to 0 after the engine shuts off. You need to check for loss of fuel or spark when it dies off.
its a sensor. I don't remember what its called, but same thing happended to me it took the car garage I took it to # times just to find out what it was.