David Mazariegos, 25, was charged with murder in the fatal beating of another man at a subway station in Brooklyn.