I would say it is unlikely that it is the switch itself. More likely it is in the wiring from the dimmer switch to the front headlights. In looking for the short, I would work my way back from the right front headlight bullet connectors.
With the headlights turned off, disconnect the high beam bullet connector on top of the frame just behind the radiator; if you can still detect the colors of the wires, the high beam should be black/red and the low beam black/green. If you can not tell the difference, disconnect them both. Check the resistance in the circuit back towards the dimmer switch. It should be open circuit; that is infinite/max ohms. If open circuit then check the resistance to ground through the headlamp filament. The bulb filament should register 6 to 12 ohms. If there is a short in either direction, it will read near zero ohms, and you should pursue that path to find your short. Look for cracked, worn or frayed wiring insulation around the bullet connectors, under mounting clips, and passing through sheet metal.
If the short was back towards the dimmer switch, go to the bullet connectors on top of the frame, right behind the radiator on the driver side. Disconnect the high beam (or both) wires going from there across the front cross member to the passenger side. Look for the short towards the passenger side; if zero ohms the problem is in the piece that goes across. If the cross wire is a good open circuit, check the ohms back toward the dimmer switch; you should still see the short. Then disconnect the high beam (or both) going up to the driver side headlight and check both directions of that circuit to see if the short is in the wires to the headlight or in the wires going back to the dimmer switch.
If the short is still in the direction of the dimmer switch things get tougher. The wires are buried in a bigger bundle and the dimmer switch connections are hard to get to. Disconnect the high beam wire (or both) from the dimmer switch and check for a short back towards the headlights. If the short is in that direction, you should probably replace that whole wiring harness. If it is not check the high beam terminal on the dimmer switch for short to ground. Click the dimmer switch and try again. If either gives you a short, replace the dimmer switch. It would be best to have someone click the dimmer switch while you watch the needle on the ohmmeter. If it just twitches, the short could be intermittent, but long enough to blow a fuse.
If not, that leaves one other potential culprit. That is the wire from the dimmer switch that goes back up through the firewall to the high beam indicator light in the dash. Check that one for short versus 6 to 12 ohms for the bulb. Check the wire bundle going through the firewall for fraying. Check that the bulb and its socket are properly installed
Good luck.