We are having an issue with the headlights. And Tail lights on 2002 Saturn L100

We can shut the car off and they ( headlights) will stay on for 30 to 40 minutes. Also rear light work sometimes. We have replaced All Turn signal and tail lights

Asked by for the 2002 Saturn L100
Do you have day time running light which means when starting car do the lights come on. Could be drl module!
If not could be combination switch which is you signal and headlight switch