Generally speaking, when upgrading from the stock mechanical fuel pump to an electric fuel pump, you're also replacing the stock fuel filter/water separator. Soooo, you're actually upgrading/replacing two things. There are several different ways to accomplish the upgrade, it just depends what you want.
Replacing the fuel pump is the basic part. You're removing the stock mechanical fuel pump, plugging the hole in the block for the pump piston, and adding an electric fuel pump. The electric fuel pump of choice is generally a Super Duty 7.3L pump mounted on the frame rail.
Replacing the fuel filter/water separator is the 'hard part.' In most of the commercially available kits, the filter/separator is moved to the frame rail by the fuel pump. You can also go with a pre- and post-pump fuel filter. At the minimum, you need a post-pump filter. You can also use the fuel filter/water separator off a Super Duty 7.3L. Either option will also require a fuel pressure regulator. FueLab makes a great one. You'll also need to plumb everything in and this involves running new fuel lines, generally from the new electric fuel pump.
Do a search and you'll come up with a boatload of information on the various setups. The above is just a general overview.
Cheers from Claremore, OK!

Dave