- Sword and shield: this isn't a bad option for you if you're worried about dying
Since per RAW it's an Action to don or doff a shield, I don't think that works well with a dedicated archer. Best bet is to aim to stay out of melee, but if forced into melee you can draw a sword (use shortsword or rapier for finesse) as object interaction and attack with it in same round. While still holding onto your bow.

(I'm assuming that AL GMs don't ignore the object interaction rules & allow free swaps, if that's not the case then sword & shield is great yup)