Disconnecting the fuel pump relay is another method, but locating that relay will require consulting your owner's manual or a wiring diagram specific to your truck's year and engine. This is also not a simple procedure for someone unfamiliar with vehicle mechanics.
Important Note: Tampering with the fuel system can be dangerous and should only be attempted by someone with experience working on vehicles. Improperly disconnecting components can cause damage or create a fire hazard.