Here is the procedure, feel free to ask if you have any other questions.
5.2L and 5.9L Engines
See Figure 8
Remove the radiator.
When removing or installing the constant tension hose clamps from vehicles so equipped, use only the correct clamp tool, such as the Snap-On No. HPC-20, or equivalent.
Loosen all accessories that are belt driven and remove the belt(s).
On engines without air conditioning, remove the alternator bracket attaching bolts and tie the alternator and bracket out of the way.
Fig. 8: Remove the V-belts (earlier models) or serpentine belt (later models) to access the water pump-heavy duty 5.9L V8 models
On engines with air conditioning, remove the idler pulley assembly, alternator, and adjusting bracket.
Remove the fan blade, spacer (or fluid unit), pulley, and bolts as an assembly.
To prevent silicone fluid from draining into the drive bearing and ruining the lubricant, do not place the thermostatic fan drive unit with the shaft pointing downward.
Disconnect all hoses from the water pump.
Remove the air conditioning compressor front mounting bolts.
Remove the water pump-to-compressor front bracket bolts and the bracket. Remove the water pump.
Do not disconnect any refrigerant lines from the compressor.
This component is subjected to constant high pressure from hot fluid and must be sealed correctly or it will leak.
Clean the mating surfaces prior to sealing the water pump.
Install the water pump on the engine. Use a new gasket coated with sealer.
Install the water-pump-to-compressor front bracket mounting bolts. Tighten the bolts to 30 ft. lbs. (41 Nm).
Install the air conditioning compressor front mounting bolts. Tighten the bolts to 30 ft. lbs. (41 Nm).
Reconnect all hoses to the water pump.
Install the fan blade, spacer (or fluid unit), pulley, and bolts as an assembly.
On engines with air conditioning, install the idler pulley assembly, alternator, and adjusting bracket.
On engines without air conditioning, install the alternator and bracket.
Install the drive belt(s).
Install the radiator. Fill the cooling system and adjust the tension of the drive belt(s).