The incident took place in Fairfield County around 12:30 p.m., Friday, June 19, on Fairfield Avenue in Bridgeport, said Scott Appleby, director of the emergency management division for Bridgeport.
The child, who was in a parked vehicle, was noticed by a bystander who was watching and was able to break the glass as the child was stuck in the window, Appleby said.
The child is in critical but stable condition and is being transported to Yale-New Haven Hospital with the family, Appleby said.
"This was an accident, the child was playing with the window switch, we remind parents to please be cognizant of children in vehicles," he said.
Click here to follow Daily Voice Brookfield and receive free news updates.