Thanks, I really appreciate your taking the time to answer. I probably should have been more detailed in my original post. I replaced the OEM switch when I rebuilt the headlight motor a few months ago. It worked OK for awhile, but a few weeks ago it started cycling, so I figured the replacement switch was bad.
I bought a new switch, and installed it. The new switch also cycled, so I disassembled the motor to check if there was something I did wrong when I rebuilt it. Nothing looked wrong, so I regreased the gears and put the motor back together. The switch still cycled. I took the switch out and repositioned it (twice). Now, sometimes it cycles, and sometimes it doesn't.
You're right about the battery, and I don't think the cycling does the headlight motor any good either. Right now I've got the motor lead disconnected, and cranked the headlight up manually until I can figure out what to try next.
Any ideas would be welcome.