How can I uninstall this old school light switch from the wall?
The middle image clearly shows a nut at the bottom of the recess or hole.

Get some deep thin wall sockets and it should come undone easily.

Or undo the flathead screws and make the wires safe then break the base. Then remove or grind down the threads...