Do the wiggle test first, and see if it is any different, the problem is rarely the cps sensor itself, but the connector, as they lose thier grip(female part) on the male pins after a lot of years, sometimes you can gain a bit of extra use by, very slightly bending the female pins so they grip harder.
tabetha