Google "MIDI MERGE BOX" or "MIDI PATCH BAY" (latter is even more versatile than former, but more expensive).
I've purchased items from this company before and the devices are good quality:
http://www.midisolutions.com/products.htmThe Quadra Merge might do what you want.