Could be as simple as getting an air bibble in the gas tank. Try taking the fill cap off and then putting it back on.
Maybe fuel vapor lock. Hard to pinpoint the cause with no 'hands on'
when i am driving my toyato 2001 Eaco stops running, it will start back up
Died while driving? Alternator
if it won't start up again chances are it's probably your fuel pump
If you can jump it and get it running again, drive it for a few miles and then it dies again, it is the alternator. Buy a new alternator and it will fix the problem assuming you do not have bad connections "wires" in your charging system "your alternator and your battery".
About a zillion things, one would be a bad fuel pump. If it will jump start and drive a few miles then die again replace your alternator.
The clogging of your fuel injectors or carburetor jets may induce vapor lock.See the link listed below:
There are several reasons that can cause your 1995 Buick Century to quit running. The most common reason is a lack of fuel. A bad fuel pump can cause the engine to quit running.
Check the cars ignition coil and crank sensor. Either of these could be overheating and causing the car to not start until it sits for a while.
Stalling while driving may be caused by a collapsing or kinked neoprene fuel line.
If your engine is over heating it could get too hot and quit running, then start again when it gets cooled off. Otherwise, "something" got too hot and quit working, cools off and works again.
Check timing belt