The shootout was filmed by a security camera and by one of the officer’s body cameras, the police said.
Ahuva Kaplan, 25, who lives across the street from the scene, said she witnessed the events through her window. She saw the man hide behind a car and draw a gun. “They chased him into the parking lot,” she said. “Then I heard gunshots, about five.”
She said many more officers arrived over the next few minutes. “A loud speaker on a police car said, come out! Come out!” Mrs. Kaplan said. “They were trying to get him out and there was more fire. He was behind a car, hiding.”
On Thursday evening, dozens of officers combed through the parking lot, sandwiched between two buildings on the east side of Broadway, looking for evidence.
Jorge Ozuna, 65, said he was walking nearby when he heard shots ring out. “It came from inside a parking lot,” Mr. Ozuna said. “A lot of police officers came running with guns in their hands.”
A few minutes later, he said, the wounded officer was carried away by two other officers.
“He seemed alert, conscious,” Mr. Ozuna said. “He was touching his hurt arm.”
Father Ambiorix Rodriguez said he was preparing for Mass at the St. Elizabeth Church on Wadsworth Avenue and 187th Street when he began getting messages about the gunshots and the wounded officer.
“As soon as I heard I began praying for him,” he said. “We have had some shootings here recently.”
Edgar Sandoval contributed reporting.