Guidelines on branching of a PCI express signal
I would go for either an signal or a packet-switch between these 3 components. With a signal-switch you'll have to detect which card is inserted and activate that signal. If you use a packet-switch (like the ones from PLX) you should be able to do it without any detection.