The lingering feud between the TLC and underground “dollar vans” boiled over in Brooklyn Thursday, when the fed-up driver of one of the illegal shuttle buses jumped on the roof of his van and refused to come down for an hour — or pay a $500 fine.

More than a dozen cops had to be dispatched to the scene on Flatbush Avenue and Avenue D around 8 a.m. after the driver’s raucous escapades drew an angry, unruly crowd.

“We’re here to take a stand because this keeps going on back and forth,” said one driver who identified as Kevin and who was part of the angry crowd.

“We’re not out there killing nobody. We’re making an honest living for our family. But they’re coming out here ganging up on our drivers.”

The discount shuttle vans have been a thorn in the side of the Taxi & Limousine Commission — and transit bus drivers — since they first surfaced during the city’s 1980 transit strike.

Nonetheless, they have become a lifeline for poorer immigrant neighborhoods in Brooklyn, Queens, and Chinatown, typically charging local commuters $2 to $3 to get on.

Since 1990, the van drivers have been allowed to apply for city permits and go legit, but few do so because of the cost of the permits.

TLC officials said the van that sparked Thursday’s unrest did not have a license. It was pulled over on Flatbush Avenue by TLC enforcement officers in an unmarked vehicle. The officers were writing up the fine when the irate driver, identified by police as 34-year-old Kirk Ranger of Brooklyn, climbed onto the roof of van.

“They’re harassing me,” he screamed. “I didn’t do anything wrong.”

He was wrestled to the ground by police about 9 a.m. and was taken off in an ambulance. The nature of the man’s injuries is not known.

A spokesperson for the TLC said the man spit in the face of one of its agents and left both with minor injuries from the scuffle.

The NYPD was called in as backup after the angry crowd gathered.

Ranger was hit with a slew of charges, including two counts of assault of a police officer, resisting arrest, obstruction of governmental administration and disorderly conduct.

He was also cited for operating a vehicle without insurance and not obeying a police officer, both violations. “TLC has been harassing us for years,” said a man who gave his name as Gio. He said the vans “helps us commute in and out of work every day. When there’s no bus, when it’s rain, sleet, and snow, they still find a way.”

Said another man, “the entire precinct shouldn’t be out here for a man trying to get a dollar, trying to feed his family.”