The Brodsky Organization, owners of the building, said the men assisted the woman after the attacker left.
The incident comes amid a rise in anti-Asian crimes in the wake of the pandemic, including a deadly attack in Atlanta in which three women of Asian descent were among the eight dead.
The suspect in the New York assault, Brandon Elliot, has been charged with two counts of assault as a hate crime and one count of attempted assault as a hate crime.
Nationwide statistics recording hate crimes in 2020 have not yet been released, but many Asian-American people say they have observed a rise in insults and attacks.
Last month, President Joe Biden announced plans to tackle the rise in anti-Asian violence.
He said the government would publish interactive data on hate crimes as well as train national and local police in responding to hate crimes.
From insults to murder - anti-Asian hate on rise.
Does China's 'one-child generation' want more kids?
VideoDoes China's 'one-child generation' want more kids?
Does China's 'one-child generation' want more kids.
VideoDoes China's 'one-child generation' want more kids