A Guatemalan man in the U.S. illegally was sentenced to four years in prison Monday for possession of a firearm by an alien and possession of a firearm by a felon.