The man committed suicide in the Thurgood Marshall courthouse at 40 Centre St., police said.
The robbery was one of several recent crimes in the 90 Precinct.
Marcos Huallpa, 46, was shot to death outside 188 Sand Lane Tuesday night, police said.
Two teens were wounded in a shooting on Grand Street in Williamsburg, officials said.
Leon Brown, 38, was killed during a dispute with another man in the Rockaways, police said.
Aspiring singer C-Jay was shot on Jan. 2 in Jamaica and may be paralyzed.
The victim in the Dec. 18 shooting was not the intended target, police said.
C-Jay, who trains with Craig Derry, was shot in the back in Jamaica on Jan. 2.
Jaquay Bennett was killed and a 17-year-old gang member was injured last week in Crown Heights.
The shooting took place on 63rd Drive and Saunders Street, police said.
Raymond Bellido, 35, was arrested last Thursday after he fired shots into a house and cars.
The separate incidents occurred on Fulton Street and Marcus Garvey Boulevard, the NYPD said.
The man was shot once in the chest, police said.
Faith leaders and elected officials gathered in Bed-Stuy to mourn victims of gun violence in 2014.
Isiah Joseph, 15, was shot once in the back at Avenue H and East 56th Street Sunday, police said.
Get Our Daily Afternoon News Update Newsletter
Thank you for signing up!
Would you like to sign up for additional newsletters?
Thank you for signing up for additional newsletters.