You can easily test the foot switch. There are three wires. One is the wire from the switch that will be hot when the lights are on. The other two are high and low and one or the other will be hot when the lights are on.
Or check for continuity on the switch. Unplug it. There will be continuity between two wires all of the time. If A is the hot in and B and C are the low and high, then you’ll have continuity with either AB or AC, alternating as you switch. You’ll never have continuity with BC
The switch will get warm at least but I can’t say if hot is too hot.
You could and even should get a headlight relay kit. It will reduce the load on the switch and give more juice to your lights, making them brighter. They are easy to install and the vendors have them I believe. Cheap, too.