Head Lights Turn off after 10min

it was fried and all melted down. So I hope this will fix the problem. .

Don't just HOPE, really check it out. IF the switch is that bad, the connector is probably toast, also. Check things out so you don't have to go through it again, wrench, repeat.