Many who pass through her courtroom face the most serious punishments in New York — violent felonies that carry up to 25 years in prison.