With 3 yellow wires and a red wire ? ....... No that's the rectifier.
The solenoid looks like the picture attached.
Note it has two large screw terminals, which are the connections to the contacts and two smaller terminals, which are the connections to the energising coil..
Follow the heavy...