There seems to be some confusion here.
To answer your original question, yes, there is a switch, in software.
Normally on boot-up, if the Pi detects a HDMI monitor it switches to using that; otherwise it uses composite - what you are calling av.
But the switch can be forced to one or the other by lines in the config.txt file in the first partition of the SD card.
NOOBS was designed to be easy to use, and assumes HDMI. It forces HDMI unless you deliberately switch to composite - and then doesn't tell the OS's about it unless you deliberately make it do so.
SO:
You were using Rasbian or one of its derivatives and couldn't get the composite video to work.
After loading NOOBS, you got - briefly - the composite to work.
That proves there's no hardware fault.
So there must have been a software problem on your original set-up. Probably in Config.txt.
So go back to your original set-up, and look again at Config.txt
- You can see it if you look at your SDcard in a Windows machine, or on the Pi itself at /boot/config.txt
You've tried
There are other things in that file that may be causing you problems - there may be lines such as
that need to be commented out or just removed