He was detained at a Pennsylvania McDonalds and was found with a firearm consistent with the murder weapon, authorities say.