The shooting took place on Saturday afternoon in Brooklyn's Bedford-Stuyvesant neighbourhood. Both officers were rushed to hospital where they were pronounced dead.
The suspect ran into a subway station near the scene of the attack where he then shot himself, officials say, informs Report citing BBC.
It is not clear yet why the officers were attacked.