Marksman's Badge (5e Equipment)
From D&D Wiki
Wondrous Item, very rare (requires attunement)
While wearing this badge, you gain a +2 bonus to ranged attack rolls.
Additionally, if you miss with a ranged attack, you can choose to hit instead. Once you have used this property of the badge, you can't use it again until the next dawn.