Ilyas Ali, 58, formerly of St. Paul, Minn., also was ordered to serve five years probation following his release.
Two other men, both from Pakistan, pleaded guilty to the same charges. Muhamed Abid Afridi, 32, also was sentenced to nearly five years in prison. Sentencing for Syed Mustajab Shah, 57, is set for June 19.
Ali admitted that he tried to sell five tons of hashish and a half-ton of heroin to undercover U.S. law enforcement officials in 2002 in exchange for cash and four shoulder-fired Stinger missiles, which he and the other defendants intended to sell to members of the Taliban.
Such missiles could be used to shoot down airplanes, including commercial jets, flying at low altitudes.