brand new alternator will not charge when engine is running on 1994 Ford Crown Victoria

the battery is good i just replaced the headlight socket and headlight switch both had burns on them

Asked by for the 1994 Ford Crown Victoria
If the alternator is not charging, check the rectifier connector at the top - make sure the plug is not melted or damaged. Check the terminals - make sure they are OK. Other than that - suspect your new alternator is....not working!

Headlight switch and socket is a relatively common deal and should be unrelated to your vehicle charging system.