1) Connect the disconnected connectors.
2) Using the Subaru Select Monitor, check the power supply CM current data «Shift P signal» when the shift lever is operated.
Does the data change?
Check the parking switch ground circuit.
Replace the power supply CM.