Switch selectable input source

I need to control an 18V15 G2 from either an analog input or an RC input, selectable somehow with an external switch.