A routine traffic stop led to the discovery of a stolen firearm and an arrest warrant for a Philadelphia man, authorities said.