Idles fine then wants to die driving

Just a thought - - this could be a wiring issue too - maybe loose power or ground wire(s) - especially to the pump or the on/off switch or if it's wired directly to the steering column ignition wires.. funny thing how turns and bumps can wreak havoc on loose wires.