Hy Cape65C20, the brake light feed must pass through the turn signal switch, but as Tiny said start at the bulb socket and work your way back towards the switch. I doubt very much that the headlight problem is in any way related to the brake light problem.