The G5 is just looking for an ARINC data stream, it will have no idea there is a switch there changing the original source. I have a 4PDT switch to change my autopilot ARINC source from the EFIS to my GPS400. But I am not familiar with setting up a G5, not sure if it will automatically configure the CDI when switching from one device with vertical guidance to one without.