A better photo of the new part would help.
Looks like it's switching a relay....so there really should be four connections...
However, if there is only three it would suggest there's going to be a common earth, then power for the relay and then the power thats going to the compressor (or...