Product review (5 stars): Replacement Washer Lid Switch - Whirlpool, Kenmore and Others
This lid switch assembly is an excellent buy.  It appears to be a quality replacement part, did the job and is available at a fraction of the cost that is shown or offered by other Appliance Part Suppliers.  DIY buyers can also search the web for "how to" videos on the best way to remove their washer manufacturer's tower and outer washer cabinet cover. Removal of both were required to gain access to the lid switch and connection(s) on my machine.
Caution: Remember to unplug your washer before attempting any repairs.