I’m up in the air over this one… the fuse is a possibility, but Ford has a thing with many of the 90’s passenger cars when a tail light/brake light fuse blows, the car wont shift out of park.
With that said, it very well could be a bad headlight switch, or poor connection somewhere. My guess is that switch probably isnt that cheap.. if you cant locate the problem yourself, going to the shop and paying for the hour labor might be a bargain compared to starting to blindly install electrical parts that may, or may not fix your problem.. electrical parts cant be returned.