Really not much to it, figure out how may contacts you need to switch everything, buy a suitable relay, build it into an enclosure, and call it a day.
When I find a deal on a Dowkey, or similar TR switch, I toss it up on Ebay, get a ridiculous amount of money for it, buy and wire a relay...