On a Toyota tacoma 2003 SR5 when the tail lights are turned on the brake lights come on and when the tail lights are of the brake lights work just fine what could be the problem.
If the truck has a trailer plug, inspect the plug and plug wiring for damage and corrosion.
Are you saying your tail lights themselves do not work and only the brake lights work. If that is the case, check the fuse, and then check the tail light bulbs.
Look for a fuse labeled TAIL LIGHTS. There are 2 separate circuits, one for brake turn and flasher and the other is for tail lights.
its on different bulbs
The tail lights and the stop lights work off of different circuits. The stop lights work when the brake pedal is depressed while the tail lights work when the light switch is turned on. Look for a burnt fuse or a bad connection.
Fuse
94 mercury grand marque dashboard, hazard, and tail lights do not work?
on some cars the tail lights and brake lights are totally different bulbs gain access to the bulbs and have someone push the brakes so that you can determine which bulbs are the brake lights and replace the tail lights
if the tail lights work but not brake lights then its most likely just a blown fuse or it could be the switch at the top of your brake pedal arm.
The tail lights are on a separate wiring than the blinker/brake lights. Look for a blown fuse or a broken/loose wire.
If the headlights are on and brake lights work but not the tail lights, it is possible there is a short in the electrical wires. Another cause for this could be that the tail light bulbs are burned out. Most vehicles have more than one bulb inside the tail lights to control different lights at the same time.
Probably a blown fuse.
they are two separate circuits