An alleged gang member accused of attacking an off-duty San Bernardino deputy, ultimately leading to his death, was charged with murder Wednesday.