I would experience that same event in my dodge ram pickup, the diesel threads explained that it could be an issue with your battery terminals being dirty and not receiving consistent juice. It in turn causes the sensors to send bad info to computer. The remedy was to pull cables off battery, clean terminals, turn ignition on to bleed parasitic electricity out of system,turn ignition back off, re install battery cables, jump inside jeep turn ignition on, depress accelerator pedal to floor slowly then release, turn off, then your ready. That resets throttle position sensor. This process would remedy my truck from hunting for OD and drive.