I believe I have the same problem. Can drive for an hour and all is fine, then turn off the car, restart, then random surging (the car will loose RPMs partly or completely, unless I pump the gas). I though it was a fuel problem, but may be electrical, which you are hinting at. Could it be the Fuel Pump Control Unit that has an odd short causing it to shut down the fuel pump? Its a mystery to me, leaving me with an undrivable car.
Let me know if you find a solution.....I'll do the same.
Good luck.