An Existence Result for a Class of Magnetic Problems in Exterior Domains