The Long Island Rail Road reported good service early Monday, after a car was hit in Central Islip, suspending service on the Ronkonkoma branch late Sunday.

Initially, reports from the scene said four people were in the car and escaped injury when it was hit by a Ronkonkoma-bound train at about 5:30 p.m. at the Carleton Avenue crossing.

But an LIRR spokeswoman early Monday said Metropolitan Transportation Authority police said two people were in the car when it became immobile on the crossing.

They got out of the vehicle before it was struck by an oncoming train, causing a suspension of service between Farmingdale and Ronkonkoma for several hours Sunday night.

No one was injured and the driver of the vehicle was issued a ticket for obstruction of the railroad tracks, Nancy Gamerman, spokeswoman for the LIRR said.

Service was restored by 9 p.m. Sunday, the LIRR said.

advertisement | advertise on newsday

Gamerman said about 500 train passengers were evacuated to the ground using ladders.

MTA Police Sgt. Adam Gross, who was on the scene, said “someone” on the train complained of back and neck pain but there were no other injuries.

Gamerman said the car that was struck by the train was on fire but added that it was “unclear” whether the blaze was the result of the impact or if the vehicle was already on fire before being struck by the train.

With Gary Dymski and Deon J. Hampton

CORRECTION: An earlier version of this story had an incorrect number of occupants in the car.