I had this problem with my 91 power ram. Replace the hall effect sensor in the distributor. Intermittent break in the parts wiring causes no reference signal for the pcm. thirty dollars at the parts store and you'll be headache free.
Probably the alternator.
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.
Out of gas
Ford f350 super duty shut off and lose power while driving
A lot of possible causes, I recommend a careful investigation.
fuel pump
If you lost power while driving it could be the alternator. Its not charging your batter anymore
1998 that when
fuel pump?
The mass air sensor sometimes would cause this problem
check the crank shaft actuator?
Why does my 2000 dodge neon shut off when my gas gauge hits a half tank of gas then u recycle the key to start it again and it starts up