Measure the resistance of harness between shift lock solenoid and chassis ground.
Connector & terminal
(B117) No. 5 — Chassis ground:
Is the resistance more than 1 MΩ?
Repair open circuit of harness between shift lock solenoid and chassis ground.