The suspected shoplifter who died in a Brooklyn grocery store after three employees sat on him has been identified.

Ralph Nimmons, 51, was spotted shoving items into what appeared to be a cake box inside the Stop & Shop on the corner of Flatbush and Tilden avenues around 7:30 a.m. Saturday, according to witnesses.

As shocked shoppers looked on, three workers dragged Nimmons to the floor, restraining him even as he protested that he had a bad heart and couldn’t breathe, customer Antwaune Savage told The Post.

“They were on top of him,” said Savage, 31. “Literally standing on top of him. Stepping on him to hold him down.”

Another shopper identified the three employees as the store’s manager, assistant manager and a produce worker.

By the time cops arrived, Nimmons, whose last listed address was on a nearby block of East 21st Street, was unresponsive.

EMTs rushed him to Kings County Hospital, but he could not be saved.

The medical examiner will determine the cause of death, and police are investigating whether a crime was committed.

Store employees declined comment Saturday.