Authorities acted swiftly, stopping the Utah suspect just before he entered Manhattan, following disturbing online posts.