You need to isolate the problem.
Since your tail lights don't work, check the dash lights. Are they out too? If so it could be a fuse. Check the fuses to see if you've blown the one that controls the tail lights. If you HAVE, you need to find out why. Often a trailer plug can be shorted causing the fuse to go. If you have a plug for the trailer lights, get under the back, unplug it and bypass the trailer plug. Note that the tail light wiring harness in the back has an assembly that allows you to plug in a trailer connection.
If the fuse is good, start with a meter and work toward the front. Does the truck have side clearance lights? Do they work?
Do the front clearance lights/parking lights work?
If you're getting dash lights but no tail lights or clearance lights, check the headlight switch. It has several outputs, one for headlights, one for clearance and tail lights and one for dash lights which can be dimmed. If ONLY the clearance/tail lights are failing to work, make sure the switch is functioning properly. To do that, pull the 4 screws around the dashboard bezel, then carefully pull the bezel toward you. The switch assembly is on the left, don't disconnect it yet.
Get a good volt meter or test light and start probing around. You should see an input and output wire for the headlights, they will be larger than the others. Verify that you know how to test the power output by connecting the meter with the negative to vehicle ground and the positive to the connector or lead that you're testing.
Next, test the input for the dash, tail and clearance lights. If the fuse is good you should be able to find the appropriate voltage on the input line and the voltage should be present when you turn on the parking lights on the output line. If you DON'T have voltage on the output with the switch on but you DO have voltage to the input. it's the switch. Amazingly, they aren't too expensive from the dealer.
There are lots of possibilities, you just need to find out what's wrong, and DON'T just start throwing parts at it. KNOW what's wrong before you replace anything.
Which is what I did, costly! What I did below and the fix!
I have the ANSWER for BRAKE LIGHTS NOT WORKING & TAIL LIGHTS on 1994 Chevrolet Suburban when all other remedies FAIL! My nightmare experience went through every part replacement I could think of, Bulbs, new tail light circuit boards, relay, in dash head light switch. Even had a mechanic tell me the problem was going to be in the steering Column wiring harness which connected to all of the other electrical areas of the truck. Made sense and there was a ribbon of about 20 wires heading up the column from under the dash. I'm getting 12 volts at the rear circuit board contacts when I press the brakes but no LIGHT from the bulb. So after the mechanic messed up my steering column replacing the wiring harness the problem remained. What I didn't catch was the reading on the volt meter was negative 12 volts. A reverse polarity problem which will happen when?
The brake lights and the tail lights are separate circuits. Check the brake light fuse, then check the brake light bulbs, then check the brake light switch.
Check the ground wire to the tail lights.
Replace brake light switch.
the brake lights are on a separate cuircut,if your brake lights are staying then it will be a fault with the brake light switch. the switch is located under dash,and will be on or very close to brake pedal.
The ground for the brake lamp. When the tail lights are off, the tail light circuit can act as a ground for the brake light. When the tail lights are on, it can't.
Brake lights should NOT be effected by the headlights. Brake light function is completely independent of the headlights. Assuming you are not refering to the tail lights, or marker lights, which are supposed to come when the head lights are turned on. Not having brake lights when the head lights are on is a big safety problem and should be corrected.
You probably have a loose wire connection in the brake light sockets. Insert a nail or probe tip into the back of the light socket where the wires are inserted and test the brake lights. (The socket can appear perfectly normal and the wires may even seem well attached.)
The head light switch is shorting out ,or a bad connection
Check the bulbs one of the 2 filaments may be burned out
Sounds like the brake light switch is defective.Sounds like the brake light switch is defective.
You have blown a fuse, look for an acc. fuse out.
You can only turn off the headlights by applying the emergency brake. When the emergency brake is on, the headlights will not light. Otherwise the best of my expererience is that they are on all the time. If you have remote start, put the emergency brake on before you leave the vehicle and when you remote start it, the headlights will not be on, but the driving lights (if switch is on) will be on as well as the parking lights.