The square box is a relay
However it may or may not be causing you troubles.
The relay could be bad, they go bad or the micro switches which trip the relay could be bad.
Does it have numbers like 87, 87a & 30 on it .
IF so, look on face book for "how to test relays"
I could explain it in 200 words that will still have you confused or you can watch 15 second video and fully understand.