This device is a Black Box Code Operated Matrix Switch (Model SW540A).
In the world of vintage networking, this was a sophisticated tool used to route RS-232 serial data between multiple computers and devices (like printers or modems) using "codes" sent over the data line rather than a physical knob. This item has not been tested.
Read More on eBay