A 2-year-old New York boy who was shot inside a home has died of his injuries, and his father is charged with gun crimes.