Turn off the power supply to the pump. Turn on the water in the bathtub and let the water drain from the system until no water comes out of the tub from the hot and cold water valves when they are open.
Trace the water line coming up from the floor, before it enters any pressure tanks or switches. There will be a "T" up from the floor. On one side of the "T" there will be a bulbous fitting; its the only one with a roundish shape. This is the surge control valve. It can be on either side of the "T."
Remove the fittings from both sides of the surge valve using a pipe wrench. Swing them away from you at a 30-degree angle. Turn the surge control valve counterclockwise using the pipe wrench until it comes off.
Wrap the threads on all three sides of the "T" with two layers of Teflon tape where the valve connects onto the fittings. You only need to wrap the threads 3/4 inch up from the bottom.
Screw the new surge control valve onto the top of the pipe where the old one came off. Screw the other fittings on the other sides of the surge valve until tight using the pipe wrench.
Close the hot and cold water valves in the tub. Turn the power back on to the pump.