I believe John is correct and the switch prevents disengaging on deceleration when the throttle is closed.
Have you changed or added Synthetic fluid recently?
If so, the synthetic could be seeping past the shaft O-ring into the enclosure housing the solenoid with oil getting into its piston chamber. If this is your issue, just remove the cover plate, empty the enclosure, and clean the solenoid piston and bore. Leave the oil as it will have fallen below the O-ring on the shaft and work fine.
Since the solenoid is responsive when not accelerating, I would check the voltage to the solenoid to make sure it is proper. If so, I would guess the solenoid is going bad as it works unstressed but hasn’t the power to operate properly when under stress.
Hope this helps,
Ray (64BJ8P1)