If you replaced the neutral safety switch and you're still popping codes after reset, then it wasn't the switch that was the problem.

Here is someone with the same issue on the same vehicle: http://www.cherokeeforum.com/f2/neut...-switch-22552/

Unfortunately the original poster didn't continue the thread to resolution.