AI usually are programmed with a limited field of view, so the trick is to have them look in the "wrong" direction while you are trying to sneak away to set yourself up for an attack on a preferably lonely enemy.
To shake an enemy off it requires constant turns until you face an opposite direction to your opponent, usually by trying to turn into him and not getting into his line of fire, and with your enemy behind you you make your move. The enemy will need considerable time to turn back onto your 6 and loose energy and may opt to attack an easier target as you've been gaining speed and made distance.
AI view distance is limited and as in real dogfights they will loose contact while you have a chance to single out some sucker AI. Use similar tactics to draw an enemy away from your squadron and sideline them before heading back to help.
Of course these tactics will not always work as the situation can get very complicated with many enemies around you but it's about all you can do besides killing them or screaming for help.
Good hunting,
VonBeerhofen