Ford Explorer, headlights blinking

Replace the headlight switch. and consider a possible relay problem.