The domestic violence suspect was also wounded in a struggle for the officer's gun, police said.
Police say officer Joseph Koch was leaving a Father's Day barbecue in Jamaica when an 11-year-old boy ran out of a nearby home, shouting for help. The boy said his mother was being assaulted.
Koch entered the home with his gun drawn. Police say the 40-year-old suspect attacked the officer and a struggle for the weapon ensued. Three shots were fired.
The officer was hit in the hand; the suspect was hit in the abdomen. Both were taken to the hospital in stable condition. A relative said one of Koch's fingers was in particularly "bad shape" and doctors were trying to save it.
The domestic violence victim was treated for a cut to her head. She was also listed in stable condition. No other injuries were reported.
Police Commissioner Ray Kelly said police had been called to the victim's house for domestic violence reports in the past.
The suspect was arrested Monday and charged with multiple counts, including assault, aggravated harassment, burglary, endangering the welfare of a child and resisting arrest.
Koch is planning to get married in November, his soon-to-be father-in-law said. He has three daughters.
-Lori Bordonaro contributed to this report