It would have to be one of three things.A bad headlight switch or a bad body control module or the wire to the parking lamp relay from the BCM is shorted to ground.Oh one other thing the relay could be sticking so try swapping it with another relay under the hood for testing purposes.
Master ASE Certified.L1 Advanced Engine Performance Certified.Pa Emission Repair Technician.Just Answer Car Category Mentor.
1 Other Expert Agrees with this!