A 32-year-old man was taken into custody after he allegedly grabbed a weapon from a 36-year-old man and shot his attacker in the head on a crowded Brooklyn subway station on Thursday evening.