That right there is very likely the problem in itself
They take so little current to light that your switch can have just enough of a current path even when it ought to be open.
just for fun put a (real not LED) test light from ground to the brake light wire and see if that is enough load to keep the brake lights off.
If so you can still try replacing the switch but it may happen again.