The attack, on board a No. 2 train in the Bronx this month, was captured on a video that has gained more than 10 million views.