Mr. Davy , of Queens Village , was treated at Mary Immaculate Hospital in Jamaica for gunshot wounds and released into police custody on Saturday , a spokeswoman for the Queens district attorney said .