24-year-old killed in Brooklyn shooting; 2 people in custody