It happened while the officers were patrolling near 76th Street and Roosevelt Avenue.
A man alerted the officers to a man acting suspiciously nearby on 37th Road.
The officers say they saw a man wearing a black trench coat with a fake beard, a hat and dark glasses.
When the officers approached the man, they asked him for identification at which time the suspect removed his hands from his pockets, pulled out a black revolver and fired twice at the officers before running away southbound on 77th Street.
The officers chased after the suspect but were unable to catch him.
The fake beard, hat and glasses were recovered during the foot pursuit.
No injuries were sustained by either of the officers.
The suspect is described as a man in his 30's, approximately 5'9" tall, with a thin build.
He was well dressed wearing a black trench coat.
Anyone with information in regards to this individual is asked to call the NYPD's Crime Stoppers Hotline at 800-577-TIPS.