Whirlpool Washer

Washer will fill but will not run. Makes no noise it is like it shuts off.

replace the lid switch. tom