You just need a simple on/off switch. Run the wire that connects the tone pot to the signal through the switch. When switch is on, tone control is working. Switch off, tone control disabled. I did this to a couple different guitars 25ish years ago. One of them I still have.
It really is that simple. Why use an on/on switch?