Sounds like you have a sensor breaking down.
Hard to tell from that without any more specific info, you could try changing the CPS? Cant guarantee anything though
Just so you know the inertia switch cuts the pump off so you can rule that out of the equation