When you say it doesn't stay "on" - it's either on or off.
Is the centre sliver bolt head with the 2 holes moving when you move the black notched "handle" of the switch?
Any chance the silver bolt has just come loose?
If you go here, and take a look at the photos:
Daren Sefcik: Pentax 6x7 TTL Prism Repair and Exposure Meter Adjustment
you can see the switch mechanism is just a springy long piece of metal that pushes against a fixed contact. So likely the switch bolt or cam is not in the right position or is loose.
Good luck with the repair!