wow, no DTC stated, so we must guess which one, and IS KEY to the cause.. ah , smog fails for CEL glowing said but true and it dont lie, the switch , conn. or wires to it are bad. the real question is where is it and how to test it. you can google neutral safety switch all day and learn what it does. The TJ jeep has. the 42RLE box. TRS it has. "transmission range, switch" here it is.
seen here TRANSMISSION RANGE SENSOR DESCRIPTION The Transmission Range Sensor (TRS) is mounted to the top of the valve body inside the transmission and can only be serviced by removing the valve body assembly. The electrical connector extends through the transmission case (Fig. 249
REMOVAL(1) Disconnect the TRS connector.(2) Remove valve body assembly from vehicle. (OOPS)!(3) Remove the manual shaft seal (Fig. 250).(5) Slide TRS off of manual valve shaft.INSTALLATION(1) Install the TRS to the manual shaft. Make sureTRS locating pin rests in manual valve bore slot.(2) Install the TRS/manual shaft retaining screwand torque to 5 N·m (45 in. lbs.) torque.(3) Install the manual shaft seal.(4) Install valve body to the transmission.my points! given above. facts.check fuses first.we check the voltages second at p/n sense pins.check for corrosion on the 3 pins related,even re-seat all connectors and pray it goes away cleaning all 3 with real electrical conn spray.does this help?btw , you never asked a question?1: how can I fix this.?2: who, can? (any ASE shop on earth)3: what parts do I need? (a TRS)4: what are the steps. (posted)so i guessed, 1 and 3 and 4.