Remove the adjustment mechanism it's often part of the bracket holding the switch in place! As for identifying the pressure switch, that's easy. Nine times out of 10, it's directly behind the 'water level' adjustment knob in the top control panel of the machine. If the machine's upside down or partly destroyed, follow the sensing tube from the base of the wash tub. And while you're at it, it's also usually worth scrounging the tube, which is often a high-quality plastic hose. You never know when it might come in handy.By contrast, dishwasher pressure switches are normally buried beneath the stainless steel drum.
Washing machine pressure switches directly control the hot and cold water inlet solenoids and so are rated for quite high currents - 15A at 230V AC is typical. So for low-voltage DC applications, the switches can certainly cope with (say) 5A. This means that, for most loads, a relay won't be needed.