My money is on the shift actuator. Anyway, buy your parts from APP and you can return them if they don’t fix your problem.
http://www.appliancepartspros.com/whirlpool-latch-w10404050-ap5263307.html
http://www.appliancepartspros.com/whirlpool-actuator-w10006355-ap4514409.html
Eric