Product review (4 stars): Good inexpensive part
Good inexpensive part.  The black tube is not scored lengthwise so you'll need a good pair of cutters to shorten it (don't nick the wires).

Open the washing machine control panel (lots of YouTube videos) and stick a ohmmeter into the left and right contacts and see if the switch is truly dead first.