Pump Automatic Pressure Control Electronic Switch
It looks like a Reed Switch - a pair of contacts that open or close in the presence of a magnetic field.

You'll need to select one that is capable of handling the current requirements for your circuit, which is impossible to determine without knowing more about its function.

You'll also need to determine whether the contacts should be normally open or closed, i.e. whether the magnetic field opens or closes the switch.