That's a control that controls the water and air in the tank. Purchase a new control from a well supplier. Turn off the pump, drain the tank and unscrew the pressure guage and then unscrew the large AVC in the tank and replace it with a new one. Be sure to read the instructions for removing the old and installing the new AVC.
Anything else is a waste of time.