it almost sounds like the car begins to stall, then whatever mechanism thats loosing power gets power, and the car tries to "start" while its running, causing the idle to jump to where it wont stall. (no starter motor involved though)
possible loose solder point in the DME?