James B's advice is spot on.
My older model has a different harness connector spacing than the electrical connector on the replacement motor, so I made a couple of short jumper cables. Took 10 - 15 minutes or so, including a bit of file work.
Once that was done James B's protocol is, IMHO, perfect. It's a super easy fix, electrical mods excepted.
BTW, My appliance repair store quoted $322 for this fix. The parts from Appliance Parts Pros cost about $90 with shipping....
Thanks, Appliance Parts Pros.