The suspect was caught when the train arrived in the Times Square 42nd Street station just after 2:50 p.m.
A rider who got off the train alerted a police officer on the northbound platform.
ALSO READ | MTA officials address alarming rise in crime, promise more uniformed officers on platforms
They said that a man on the car had a gun.
Officers stopped the rider and took him into custody.
* Get Eyewitness News Delivered
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a News Tip