Brake lite/transmission switch on brake pedal has failed. on 1995 Toyota Corolla

Brake lights stay on all the time, when I unhook switch cannot shift out of park, button disabled on shifter

Asked by for the 1995 Toyota Corolla
1 answer 2 comments
replace brake light switch,should solve that issue
does it have to be removed or is it just an unplug at switch?
could be either.but easy to replace