Product review (5 stars): Same as the brand-name part, half the price
This is the generic version of the Whirlpool/Maytag lid switch that goes by part number "ark-les 8318084." It's a pretty simple part and hard to mess up, so no surprise it works just as well as the brand-name part that costs 2 to 3 times more. Saved me an $80 repair bill for what turned out to be a very simple problem. You do need to have the lid fully open when you install this part. My washer was a Maytag Centennial that's about 6-7 years old.

FYI, while you're waiting for this part to arrive, you can get your machine to work in the short term by taking a piece of regular copper wire and directly connecting the two non-ground sockets on the corresponding plug to this part (the two on the right in the picture above). There are numerous YouTube videos on how to do this. The machine will always think the lid is closed, so don't stick your hand in there, but it will work ot wash clothes.