Weird Dakota headlight problem. Help

I have an 02 Dakota 4x4 that just started a weird problem. It is intermittent. Sometimes when I go to start it the headlights, interior lights, and 4x4 indication lights won't come on. Also the 4x4 service light comes on and the headlights just barely light up even with the headlight switch in the off position. The truck starts and runs fine. Other times everything works fine. This only happens when I go to start it. If I'm driving the headlights don't go out(so far). There are no codes. It seems like a short of some kind. Any ideas on where to start? All I've tried so far is wiggling the ignition and headlight switches. Thanks....Dean