OK ... but I'm still curious as to what diagnostics have led you to believe you had a crankshaft position sensor problem in the first place. The reason I write this is because without any other diagnostic information, then assuming two bad CKPS sensors in a row (original and replacement) is not as likely as assuming that your problem is elsewhere.
By the way, I looked up your Jeep and testing a CKPS operation would be done this way (please note that I had a voltage error in my original post):
(a) With the electrical connector disconnected and key in the "on" position, verify voltage to the CKPS from the PCM. It should be 8.0 volts for 1995 and earlier vehicles (I made an incorrect assumption earlier ... the 5 volt levels were introduced with the 1996 models). Test between the white/black (voltage) and the black/light blue (ground) wires. If it is not 8.0 volts, then you need to investigate the circuit and/or the PCM.
(b) Next check for damage to the CKPS ... place an ohmmeter across terminals B and C of the CKPS connector. The meter reading should be open (infinite resistance). If you notice measurable resistance, then the sensor is bad.
(c) Reconnect the sensor and put a scope or meter on the signal line. Remove the plugs and attach a breaker bar and socket to the crankshaft pulley center bolt. Turn the key to the "on" position and slowly rotate the engine a full rotation while watching the meter. On a 5.2, it should dip from 8.0 volts down to ground every 45 degrees as it hits the notch on the flywheel. If it is giving you other readings, then either (a) you have a bad CKPS or (b) the CKPS was installed with an improper distance from the flywheel (spacer not used, or not properly seated during installation).
If (a), (b), and (c) all check OK then your problem is elsewhere. In general, CKPS sensors do not erratically fail or degrade (that is, if they are bad then they are bad all the time), although I've read some cases where the CKPS works when cold but then fails as the engine temperature heats up the CKPS.