You could also get two of these.
[Link: metrahometheater.com]This has a double throw relay that is code learning.
Send "Red" output from one amp into "A" port, the "Red" output from other amp into "B" port and then Common to speaker. Tie the "Blacks" together.