How to make a SPDT switch without a switch itself
So I don't know how much space is too much space but I would recommend checking on digikey for a suitable mosfet and using a small switch to control the mosfets. Something like this prehaps.