The shooting, which took place at a building that houses an immigration court, resulted in a single fatality at the scene, a spokesman for the Fire Department of New York said.
The wounded person went into cardiac arrest and was rushed to a hospital, the spokesman said.
Police would not provide any information about the victims.
One of the people who was shot was a security officer at the building, the Wall Street Journal reported, citing an unnamed law-enforcement official. The suspect in the shooting is believed to have then committed suicide with the same weapon, it said.