Create two sends for the track, feed each one to the appropriate bus, and then automate the sends or bus outputs (depending on the situation). You could also feed the two bus outputs to another bus or aux track if you wanted to automate the overall bus level, regardless of which bus was selected. The same technique would work with Aux Tracks.