I just repaired my Electrolux Ambassador today. Wiring is probly the same for the motor.
The white goes to the motor terminal at the bottom, the gray to the motor terminal at the side. I would think the yellow does to the switch.
Not too many options because white almost always goes to the motor.
stevross@snet.net, March 2006