Both victims survived the shootings, which happened just blocks apart early Wednesday and Thursday. City officials say the incidents are being investigated as potential hate crimes.
In a surveillance video released by police, the suspect is shown punching the victim in the face and head more than 125 times. He is being charged with attempted murder.
Police are investigating the distribution of antisemitic flyers just a month after a gunman took worshippers hostage in a synagogue. Similar materials have been dropped in driveways across the U.S.
Video of the assault, as well as the seeming inaction of apartment staff standing nearby, has drawn fury in and beyond New York. State and city authorities are investigating the attack.