I had to replace this switch and decided to document “what wire goes where” inside the headlight shell on the circuit board and to the ignition switch and headlight relay.
I also explain how to map information found in various wiring diagrams to the labeled areas on the circuit board. There are some places where things got confusing for me in going between the various published wiring diagram(s) and the circuit board inside the headlight shell, so I hope this material helps others avoid being confused.
You will find this write-up here:
Here are a couple pictures from the write-up.