What was the code? There are 3 different ones for fuel pump electrical problems, all with different causes and fixes.
_______________________________________________
Code 87 – fuel pump primary circuit failure. check inertia switch, wiring to/from inertia switch, red wire going to inertia switch for +12volts. Check other side of inertia switch for +12 volts.
To help troubleshoot the 87 code, follow this link for a wiring diagram
http://www.veryuseful.com/mustang/tech/engine/images/fuel-alt-links-ign-ac.gif
______________________________________________
Code 95 - Possible bad fuel pump ground or open between fuel pump and pin 8 at PCM (Fuel Pump Monitor signal) - Power / Fuel Pump Circuits
To help troubleshoot the 95 code, follow this link for a wiring diagram
http://www.veryuseful.com/mustang/tech/engine/images/fuel-alt-links-ign-ac.gif
Check the black wire that comes out of the tank; it is the fuel pump ground. It goes to a 2 wire connector and then ground to the chassis. If the connections get dirty or corroded, you will lose fuel pressure.
_______________________________________________
Code 96 – KOEO- Fuel pump monitor circuit shows no power - Fuel pump relay or battery power feed was open - Power / Fuel Pump Circuits.
Look for a failing fuel pump relay, bad connections or broken wiring. The fuel pump relay is located under the Mass Air Meter on Fox bodied stangs built after 91. On earlier model cars is under the passenger seat.
To help troubleshoot the 96 code , follow this link for a wiring diagram
http://www.veryuseful.com/mustang/tech/engine/images/fuel-alt-links-ign-ac.gif
Look for power at the fuel pump - the fuel pump has a connector at the rear of the car with a pink/black wire and a black wire that goes to the fuel pump. The pink/black wire should be hot when jumpered to the test position. . To trick the fuel pump into running, find the ECC test connector and jump the connector in the lower RH corner to ground.
http://www.mustangworks.com/articles/electronics/eec-iv_codes.html for a description of the test connector. it. No voltage when jumpered, check the fuel pump relay and fuse links.
Using the diagram, check the red/black wire from the fuel pump relay: you should see 12 volts or so. If not, check the inertia switch: on a hatch it is on the drivers side by the taillight. Look for a black rubber plug that pops out: if you don't find it, then loosen up the plastic trim. Check for voltage on both sides of the switch. If there is voltage on both sides, then check the Pink/black wire on the fuel pump relay: it is the power feed to the fuel pump. Good voltage there, then the fuel pump is the likely culprit since it is getting power. No voltage there, check the Orange/Lt blue wire, it is the power feed to the fuel pump relay & has a fuse link in it. Good voltage there & at the Pink/black wire, swap the relay.