A 4-month-old girl has died, days after emergency crews responded to a Somersworth apartment and found the baby seriously injured.