2-year-old in critical condition after accident in parked car