The fuel pump relay is located in the Power Distribution Box in the engine compartment near the driver's fender:
2004-2008 Ford F-150
The fuel pump relay is located in the Central Junction Box under the hood on the driver's side: