The press brake to pass solenoid is not being deactivated when you push the brake pedal. If you disconnect the connector to the solenoid, it disables the solenoid, and you can shift into and out of park without touching the brake pedal.
My guess is that the brake switch is not breaking contact when you apply the brake to shift out of park. With the engine on, check your connector for power before and during pressing the brake pedal. There should be no power when you press the brake pedal.