That happened to me and it was a bad light switch. I was in downtown Cleveland OH trying to fix it and these 3 hookers came along and wouldn't leave me alone. So I had to drive away without lights to get away from them.
I hooked the wires that went to the head lights and tail lights to the hot wire on the switch for a temporary fix.
P E H