How does the pressure switch get replaced?

The boiler will need to be depressurized and drained for replacement. Simply remove the wiring connection and then unscrew the pressure sensor to replace. Failure of this component is rare.