A 17-year-old boy was injured in a shooting in San Francisco’s Sunset District on Wednesday afternoon, according to police.