You can either take the bed off, the way I like to do it.
Or you can drop the fuel tank.
You will need two fuel line disconnect tools to get the fuel lines off the FDM.
I like to spray WD-40 into the fuel connector and twist it to break the "O" ring free before I put the tool in the connector.
After the two lines are off remove the large ring, unplug the FDM from the frame plug and lift it out.
Then replace the whole FDM or cut the wires and remove the part that has the fuel pump in it. Push on a new one on and crimp the wire.
/