I don't know what year of truck you have but the dimmer switches can cause big problems. If you were checking for shorts to ground I would be checking the wire that goes from the headlight switch to feed the dimmer switch, with everything still attached. If you start to remove wires you might alter the problem.