Measure the resistance of harness between “P” range switch and chassis ground.
Connector & terminal
(B117) No. 6 — Chassis ground:
Is the resistance 1 MΩ or more?
Repair the open circuit of harness between “P” range switch and chassis ground.