It looks like a transformer - maybe its a contactor? I've never seen one that size but they are common in large machines. They create an electro-magnet when you first press the on switch. This holds the switch closed until you hit the off button. If that is what it is, a fualty one would cause...