When you first turn the key to ON the fuel pump should run for a couple seconds to prime it for starting. Once you start cranking it comes on and stays on.
Under the hood there is a fuel pump test connector. It's a gray wire with a single connector on one end not connected to anything. It goes directly to the pump. Hook a jumper wire to the positive terminal of the battery and touch the other end to that connector. You should hear the pump kick. If it does, connect it to the connector and try starting the truck. Remember to remove the connector from the battery when done testing as it is a hot wire.
If the pump does not run you either have a faulty ground wire from the pump (common issue) or a bad relay or wiring to it.
You can swap one of the other relays to test it. I did that on my Corvette to diagnose a faulty relay.
Or you have a bad pump. 😕