Why wont your Dodge Dakota stay running at idle?
ADDED: this could be the culprit but another thing to check is the condition of the battery. I have had a weak/discharged battery able to start the vehicle, but not have enough voltage or amps to run the electronics on the engine. You would have to hold your foot on the accelerator to keep vehicle running.