Product review (5 stars): Whirlpool Washer Lid Switch Assembly 285671
This is the correct Whirlpool Washer Lid Switch.
It was bought to replace the switch in a 20 years old Whirlpool washer.

Installation was easy following a few videos on Youtube.

The most difficult part was to put the washer casing back into the frame.
Just watch the Youtube video a few times before I figure out the trick.