crank position sensor on 1998 Isuzu Trooper

I just replaced the starter and battery cables. It starts, but the gauges bounce up and down, the stereo turns off, the ABS system is acting weird, and it shuts stalls occasionally. The on board diagnostic system code says it is the crank position sensor--possibly a bad connection. Where is this sensor and how do I check it?

Asked by for the 1998 Isuzu Trooper
The Crank Sensor is on the Bell Housing. It is a black plastic device, usually with 2 wires coming off of it. It is best to Ohm check it or check its wave form on a Lab Scope. Did this condition occur right after you replaced the Starter or was it there before? Also, check the connections on the Battery Positive Pole of the Starter. ( with the Battery ground disconnected) Lots of systems get power from the Starter Terminal.