I assume you have a cable operated mechanical switch mounted on the starter body.
If so, I have never seen one with such a small connector. As you say, it is usually an 8mm thread. I wonder if the switch has been replaced at some time with something “non-standard”.
If you can’t easily change the stud, I would suggest replacing the switch unit.
B….