problem with ranged, is that due to simplifying 5E from 3.5E, melee has lost some utility and ranged lost some dangers of using ranged weapons.
what we need back or modified:
1. Move without Disengage within someones reach? AoO.
2. Use ranged weapons while in someones reach? AoO.
3. Cast a non Bonus action spell withing reach? AoO.
4. Drink a potion as Bonus action? AoO, or you can drink it as an Action without AoO.
5. AoOs decoupled from Reaction, and you can make proficiency bonus per round of them. Still only one per opportunity. Like a built in 3.5e combat reflexes feat for all.
6. Boosted damage for 2Handed melee weapons or return of 1+1/2 STR mod to damage or 2×STR mod damage even, to keep it simple.
7. When you use your ranged weapon to Attack on your turn, all MELEE attacks have advantage on you until the start of your next turn.
Ranged damage if fine.
Ranged range is fine...heh
But, ranged combat needs some risk and drawbacks for using it.
If you can keep distance it's great, but if they close range on you...you should be in a world of pain. At least for one round.