Edwin Ramos was hours away from freedom.
Ramos, 38, was set to plead guilty to an attempted burglary charge at a hearing in Brooklyn court Friday morning. The judge was then expected to release him from Rikers Island into some type of program, according to a source familiar with his case.
He died a few hours before that, after experiencing what appeared to be a seizure inside a shower, the city Department of Correction said in a press release…