There are too many variables in this question to give an accurate answer. However, the switch itself may be bad; there is a low- and a high-pressure cutoff switch that can cause these types of problems as well.
Gerald Wheelus
Edgewood Auto Parts #253
Edgewood, Texas