i had a problem like that, Dodge van1500, and they told me a lot of solutions, i did tuneup and the only thing that works, i replace the computer, used 90.00 and problem solved.
Crank trigger
The mass air sensor sometimes would cause this problem
fuel pump?
Yes! I got a 1994 MX6 and it would shut down while driving when your oil is low.
Cam positioning sensor. 99.9%
your alternator is going bad
There are several complications that can cause a 1999 Dodge Caravan to shut off while driving. Most common issues include ignition problems or fuel delivery problem.
A bad timing belt could make the engine shut down but it would only happen once, not sometimes.
Possibly the crank case oil sensor. Had the same symptoms on a Buick LeSabre '91
no gas
Probably the alternator.
Peeing off the side