It may be coincidental that after disturbing the wires...the pump runs...but commonly this is an indication of a failing fuel pump. Jiggling the connector wires, will shock the pump into working. Check for a good check engifne lamp, but if it is commming on, than you'll need to test for good voltage at the fuel pump connector, if there is voltage but no fuel pump operation...repalce the pump.
~Rip
Please click on "ACCEPT" if I was helpful-or if you still need assistance just reply, before leaving any feedback thanks