Just had the same problem mine was due to air staravtion. cleaned out air filter and ran the engine with the air filter of after blowing through the attached tubes. Seem to do the trick and drives as it did before it started stopping when i was breaking.
Usually a sighn of bad alternator.
Had same problem on my 03. Replaced the fuel and air filter and had plugs replaced. Ran like new after. Dont know which its was but a place to start.
If your Dakota shuts down after 5 or 10 seconds then change the map sensor. If it shuts down after 3 or 4 minutes of driving and won't restart look for a bad harmonic balancer. Experienced both!
Check for a vacuum leak Could be the check valve at the power brake booster
is the transmiton
If you are driving in the daytime, your car will loose power and then turn off. If you try to start it, it will not even crank. That's because once the alternator broke down, the engine was now using the power of the battery to run. And since the battery is not getting charged by the alternator, then the battery runs out of power and everything electrical in the car shuts down. If you are driving at night, your head lights will dim a lot and then your car shuts down. Try to start it and it won't even crank.
If your 2000 Ford Expedition shuts off while driving it you should discontinue use of the vehicle immediately. Then have the vehicle towed to your local dealership or mechanic shop to address the problem,
Turn it back on and continue driving?
a bait car shuts the robbers in when driving and then you can locate them
Have engine computer tested
if no warning and it just shuts down but dash lights and radio light up check ignition switch
the battery is flat or its to old