A former employee of a Fox television station in Texas shot himself outside the front doors of a Midtown Manhattan office building shortly before 9 a.m. Monday, a law-enforcement official said.

The building houses 21st Century Fox Inc., owner of the station, and News Corp, which owns The Wall Street Journal.

He was rushed to Bellevue Hospital Center, where he was pronounced dead about an hour later, police said.

The man, Phillip Perea, 41 years old, of Irving, Texas, shot himself once in the chest outside of 1211 Avenue of the Americas, the official said. Mr. Perea had previously worked for a Fox station in Austin, Texas, police said.

Mr. Perea had also been handing out fliers, which criticized his employer for having "ended my career," moments before he shot himself, the official said.