The pressure switch on pump is the square bit at end two red wires going into it when you say take housing of what part do you mean
That's right JK.
The pressure switch housing is the black square bit.
When you unscrew it you will see the pressure switch inside.
Using a small flat screwdriver you can lever it out of the housing to remove it.
The new pressure switch will slot straight in.