A Middle Island woman injured in a July Fourth head-on crash that killed three family members was transferred late Thursday from Brookhaven Memorial Hospital Medical Center to Stony Brook University Hospital where her infant son is being treated, a hospital officials said Friday.

Manisha Surwade, 32, remains in critical condition but she was stable enough to be moved, said a spokeswoman for Brookhaven Memorial in East Meadow.

“In this particular case, it was very important for the patient to be moved to be near her family,” said the spokeswoman Cynthia Ruf.

Police said Surwade was a rear-seat passenger in her husband’s 2014 Altima when a pickup driven by Gustave Geyer, 25, of Ridge, collided with it at 10:46 p.m. on Yaphank-Middle Island Road, near the Middle Island Country Club.

Chandan Gavai, 38, the driver of the Nissan, was pronounced dead at a hospital. His parents visiting from India -- Kamalnayan Gavai, 74, who was in the front seat, and mother, Archana Gavai, 60, who was in a back seat -- died at scene, police said.

advertisement | advertise on newsday

The couple’s infant son, whose first name is Ibhan, according to a family friend, sustained non-life-threatening injuries. He has been at Stony Brook hospital since the crash, a hospital spokeswoman said.

Police said Geyer, who died at the scene, caused the crash when he passed a vehicle on a two-lane stretch where passing was prohibited and slammed into the Nissan.

Surwade and Chandan Gavai, natives of India, married in 2011 in India and lived in Boston before moving to Middle Island. The two had looked forward to celebrating their son’s first birthday on Aug. 8, said the family friend Manish Sandbhor, 33 of Nashua, New Hampshire.

Emergency officials managed to rescue Ibhan from the burning Nissan, police and witnesses said.