1) Turn the ignition switch to OFF.
2) Disconnect the AT shift lever connector.
3) Using a tester, check the continuity of P range switch.
Connector & terminal
(B117) No. 1 — 2:
Does it change from Continuity ⇔ No continuity according to shift lever operation?
Replace the P range switch.