I had this same problem when i went to get my car inspected (not sure how long I was without fully functioning brake lights) but the guy had a real simple fix. Apparently sometimes the grounding wires on the lamp housing become loose, try tightening those to see if that does it.
You either have a short in the power wire, meaning it is disconnected, frayed against other wires or a ground problem. You can test both the power and ground wires with a simple test light. If you "ground" the test light and figure out which bulb is supposed to be the brake light. If you remove the bulb and probe where the bulb seats to each of the contacts and one of them lights up when the brakes are depressed, you have power to the bulb. This means that either you have a bad ground or you have a bad bulb.
For those unfamiliar with electrical terms a ground on an automobile is essentially the body. Anything metal on a vehicle is "grounded." They do this to eliminate an extra set of wires. Since metal conducts electricity, and most car bodies or frames are metal, they connect the negative battery cable to the vehicles frame and all the accessory grounds are connected to it as well.
So if you need to run a new ground, you figure out which wire needs to be a ground and simply scuff a piece of the body and attach a wire using a ring terminal found at any auto parts or electronic store.
Have you heard of KISS!!!
Keep It Simple Stupid!!! I would check the bulb!
The brake switch on a 1999 Corolla should be on the top of the brake pedal arm. If the switch goes bad, then the brake lights might stay on, or not come on at all.
Is located on top of the brake pedal
Check the brake light switch located under the 1989 Toyota Corolla. If the switch is stuck the parking light will continue to stay on.
Defective or mis-adjusted brake light switch
Usually at the top of the brake pedal. Usually at the top of the brake pedal.
A malfunctioning brake light relay switch will cause your 1993 Toyota Corolla brake lights to stay on all the time. The brake light relay switch is located beneath the drivers side dashboard.
Where is the brake fluid filler located on a 2004 Toyota Corolla?
A brake light switch may be bad if a 1996 Toyota Corolla will not go into gear and the brake lights don't work. Another issue could be in the shift lock solenoid.
How do I change the Front Brakes on a 2001 Toyota Corolla?
How do you replace the front break pads on a Toyota corolla .
If by 'controller' you mean the switch that makes the brake lights come on, it is not in the trunk. It is located underneath the dashboard, next to the brake pedal.
2014 TOYOTA COROLLA