A 19-year-old man has been charged with murder after a child was allegedly shot in the face and later died.