A 4-year-old boy has died after suffering a medical episode from possible fentanyl exposure at a New York City shelter.