Yes, you can add Dex to ranged damage 5e. While striking with a ranged weapon like a slingshot or a sharpshooter, users add their Dexterity modifier to attack and hit rolls.