What is wrong with 1998 Dodge Caravan when headlights consolelights brakelights and taillights go out Fuses are fine have replaced switch?

my Dakota did that it may seem weird but it was the flasher relay