A busy terminal at John F. Kennedy International Airport was evacuated after a man opened a restricted door and set off an alarm, authorities said, making it the second known security breach at a New York-area airport this month.

The breach delayed dozens of flights and caused headaches for hundreds of travelers who had to exit the terminal and wait for hours as police swept through the building. The passengers at JFK were then shepherded through additional screening.

The man, Jules Paul Bouloute, is of Haitian descent but lives in Brooklyn, said Steve Coleman, a spokesman for the Port Authority of New York and New Jersey, which operates the airport. He was arrested on a charge of criminal trespass.