Here are the relevant parts of the statute. I have also included the revised "gun-free school zone" statute to show how Congress defines interstate commerce.
18 USCS § 922 (2005)
§ 922. Unlawful acts
* * *
(b)
It shall be unlawful for any licensed importer, licensed manufacturer, licensed dealer, or licensed collector to sell or deliver--
(1)
any firearm or ammunition to any individual who the licensee knows or has reasonable cause to believe is less than eighteen years of age, and, if the firearm, or ammunition is other than a shotgun or rifle, or ammunition for a shotgun or rifle, to any individual who the licensee knows or has reasonable cause to believe is less than twenty-one years of age;
(2) any firearm to any person in any State where the purchase or possession by such person of such firearm would be in violation of any State law or any published ordinance applicable at the place of sale, delivery or other disposition, unless the licensee knows or has reasonable cause to believe that the purchase or possession would not be in violation of such State law or such published ordinance;
(3)
any firearm to any person who the licensee knows or has reasonable cause to believe does not reside in (or if the person is a corporation or other business entity, does not maintain a place of business in) the
State in which the licensee's place of business is located, except that this paragraph (A) shall not apply to the sale or delivery of any rifle or shotgun to a resident of a State other than a State in which the licensee's place of business is located if the transferee meets in person with the transferor to accomplish the transfer, and the sale, delivery, and receipt fully comply with the legal conditions of sale in both such States (and any licensed manufacturer, importer or dealer shall be presumed, for purposes of this subparagraph, in the absence of evidence to the contrary, to have had actual knowledge of the State laws and published ordinances of both States), and (B)
shall not apply to the loan or rental of a firearm to any person for temporary use for lawful sporting purposes;
(4) to any person any destructive device, machinegun (as defined in section 5845 of the Internal Revenue Code of 1954 [26 USCS § 5845]), short-barreled shotgun, or short-barreled rifle, except as specifically authorized by the Attorney General consistent with public safety and necessity; and
(5) any firearm or armor-piercing ammunition to any person unless the licensee notes in his records, required to be kept pursuant to section 923 of this chapter [18 USCS § 923], the name, age, and place of residence of such person if the person is an individual, or the identity and principal and local places of business of such person if the person is a corporation or other business entity.
Paragraphs (1), (2), (3), and (4) of this subsection shall not apply to transactions between licensed importers, licensed manufacturers, licensed dealers, and licensed collectors. Paragraph (4) of this subsection shall not apply to a sale or delivery to any research organization designated by the Attorney General.
* * *
(d)
It shall be unlawful for any person to sell or otherwise dispose of any firearm or ammunition to any person knowing or having reasonable cause to believe that such person--
(1) is under indictment for, or has been convicted in any court of, a crime punishable by imprisonment for a term exceeding one year;
(2) is a fugitive from justice;
(3) is an unlawful user of or addicted to any controlled substance (as defined in section 102 of the Controlled Substances Act (21 U.S.C. 802));
(4) has been adjudicated as a mental defective or has been committed to any mental institution;
(5)
who, being an alien--
(A) is illegally or unlawfully in the United States; or
(B)
except as provided in subsection (y)(2), has been admitted to the United States under a nonimmigrant visa (as that term is defined in section 101(a)(26) of the Immigration and Nationality Act (8 U.S.C. 1101(a)(26)));
(6) [who] has been discharged from the Armed Forces under dishonorable conditions;
(7) who, having been a citizen of the United States, has renounced his citizenship;
(8) is subject to a court order that restrains such person from harassing, stalking, or threatening an intimate partner of such person or child of such intimate partner or person, or engaging in other conduct that would place an intimate partner in reasonable fear of bodily injury to the partner or child, except that this paragraph shall only apply to a court order that--
(A) was issued after a hearing of which such person received actual notice, and at which such person had the opportunity to participate; and
(B) (i) includes a finding that such person represents a credible threat to the physical safety of such intimate partner or child; or
(ii) by its terms explicitly prohibits the use, attempted use, or threatened use of physical force against such intimate partner or child that would reasonably be expected to cause bodily injury; or
(9) has been convicted in any court of a misdemeanor crime of domestic violence.
This subsection shall not apply with respect to the sale or disposition of a firearm or ammunition to a licensed importer, licensed manufacturer, licensed dealer, or licensed collector who pursuant to subsection (b) of section 925 of this chapter [18 USCS § 925] is not precluded from dealing in firearms or ammunition, or to a person who has been granted relief from disabilities pursuant to subsection (c) of section 925 of this chapter [18 USCS § 925].
* * *
(g)
It shall be unlawful for any person--
(1) who has been convicted in any court of, a crime punishable by imprisonment for a term exceeding one year;
(2) who is a fugitive from justice;
(3) who is an unlawful user of or addicted to any controlled substance (as defined in section 102 of the Controlled Substances Act (21 U.S.C. 802));
(4) who has been adjudicated as a mental defective or who has been committed to a mental institution;
(5)
who, being an alien--
(A) is illegally or unlawfully in the United States; or
(B)
except as provided in subsection (y)(2), has been admitted to the United States under a nonimmigrant visa (as that term is defined in section 101(a)(26) of the Immigration and Nationality Act (8 U.S.C. 1101(a)(26)));
(6) who has been discharged from the Armed Forces under dishonorable conditions;
(7) who, having been a citizen of the United States, has renounced his citizenship;
(8) who is subject to a court order that--
(A) was issued after a hearing of which such person received actual notice, and at which such person had an opportunity to participate;
(B) restrains such person from harassing, stalking, or threatening an intimate partner of such person or child of such intimate partner or person, or engaging in other conduct that would place an intimate partner in reasonable fear of bodily injury to the partner or child; and
(C) (i) includes a finding that such person represents a credible threat to the physical safety of such intimate partner or child; or
(ii) by its terms explicitly prohibits the use, attempted use, or threatened use of physical force against such intimate partner or child that would reasonably be expected to cause bodily injury; or
(9) who has been convicted in any court of a misdemeanor crime of domestic violence,
to ship or transport in interstate or foreign commerce, or
possess in or affecting commerce, any firearm or ammunition; or to receive any firearm or ammunition which has been shipped or transported in interstate or foreign commerce.
* * *
(y)
Provisions relating to aliens admitted under nonimmigrant visas.
(1)
Definitions. In this subsection--
(A) the term "alien" has the same meaning as in section 101(a)(3) of the Immigration and Nationality Act (8 U.S.C. 1101(a)(3)); and
(B)
the term "nonimmigrant visa" has the same meaning as in section 101(a)(26) of the Immigration and Nationality Act (8 U.S.C. 1101(a)(26)).
(2)
Exceptions. Subsections (d)(5)(B), (g)(5)(B), and (s)(3)(B)(v)(II) do not apply to any alien who has been lawfully admitted to the United States under a nonimmigrant visa, if that alien is--
(A)
admitted to the United States for lawful hunting or sporting purposes or is in possession of a hunting license or permit lawfully issued in the United States;
(B) an official representative of a foreign government who is--
(i) accredited to the United States Government or the Government's mission to an international organization having its headquarters in the United States; or
(ii) en route to or from another country to which that alien is accredited;
(C) an official of a foreign government or a distinguished foreign visitor who has been so designated by the Department of State; or
(D) a foreign law enforcement officer of a friendly foreign government entering the United States on official law enforcement business.
(3) Waiver.
(A) Conditions for waiver. Any individual who has been admitted to the United States under a nonimmigrant visa may receive a waiver from the requirements of subsection (g)(5), if--
(i) the individual submits to the Attorney General a petition that meets the requirements of subparagraph (C); and
(ii) the Attorney General approves the petition.
(B) Petition. Each petition under subparagraph (B) shall--
(i) demonstrate that the petitioner has resided in the United States for a continuous period of not less than 180 days before the date on which the petition is submitted under this paragraph; and
(ii) include a written statement from the embassy or consulate of the petitioner, authorizing the petitioner to acquire a firearm or ammunition and certifying that the alien would not, absent the application of subsection (g)(5)(B), otherwise be prohibited from such acquisition under subsection (g).
(C) Approval of petition. The Attorney General shall approve a petition submitted in accordance with this paragraph, if the Attorney General determines that waiving the requirements of subsection (g)(5)(B) with respect to the petitioner--
(i) would be in the interests of justice; and
(ii) would not jeopardize the public safety.
* * *
(q) (1)
The Congress finds and declares that-- (A) crime, particularly crime involving drugs and guns, is a pervasive, nationwide problem;
(B) crime at the local level is exacerbated by the interstate movement of drugs, guns, and criminal gangs;
(C)
firearms and ammunition move easily in interstate commerce and have been found in increasing numbers in and around schools, as documented in numerous hearings in both the Committee on the Judiciary [of] the House of Representatives and the Committee on the Judiciary of the Senate;
(D)
in fact, even before the sale of a firearm, the gun, its component parts, ammunition, and the raw materials from which they are made have considerably moved in interstate commerce;
(E) while criminals freely move from State to State, ordinary citizens and foreign visitors may fear to travel to or through certain parts of the country due to concern about violent crime and gun violence, and parents may decline to send their children to school for the same reason;
(F) the occurrence of violent crime in school zones has resulted in a decline in the quality of education in our country;
(G) this decline in the quality of education has an adverse impact on interstate commerce and the foreign commerce of the United States;
(H) States, localities, and school systems find it almost impossible to handle gun-related crime by themselves--even States, localities, and school systems that have made strong efforts to prevent, detect, and punish gun-related crime find their efforts unavailing due in part to the failure or inability of other States or localities to take strong measures; and
(I) the Congress has the power, under the interstate commerce clause and other provisions of the Constitution, to enact measures to ensure the integrity and safety of the Nation's schools by enactment of this subsection.
(2) (A) It shall be unlawful for any individual knowingly to possess a firearm that has moved in or that otherwise affects interstate or foreign commerce at a place that the individual knows, or has reasonable cause to believe, is a school zone.
(B) Subparagraph (A) does not apply to the possession of a firearm--
(i) on private property not part of school grounds;
(ii) if the individual possessing the firearm is licensed to do so by the State in which the school zone is located or a political subdivision of the State, and the law of the State or political subdivision requires that, before an individual obtains such a license, the law enforcement authorities of the State or political subdivision verify that the individual is qualified under law to receive the license;
(iii) that is--
(I) not loaded; and
(II) in a locked container, or a locked firearms rack that is on a motor vehicle;
(iv) by an individual for use in a program approved by a school in the school zone;
(v) by an individual in accordance with a contract entered into between a school in the school zone and the individual or an employer of the individual;
(vi) by a law enforcement officer acting in his or her official capacity; or
(vii) that is unloaded and is possessed by an individual while traversing school premises for the purpose of gaining access to public or private lands open to hunting, if the entry on school premises is authorized by school authorities.
(3) (A) Except as provided in subparagraph (B), it shall be unlawful for any person, knowingly or with reckless disregard for the safety of another, to discharge or attempt to discharge a firearm that has moved in or that otherwise affects interstate or foreign commerce at a place that the person knows is a school zone.
(B) Subparagraph (A) does not apply to the discharge of a firearm--
(i) on private property not part of school grounds;
(ii) as part of a program approved by a school in the school zone, by an individual who is participating in the program;
(iii) by an individual in accordance with a contract entered into between a school in a school zone and the individual or an employer of the individual; or
(iv) by a law enforcement officer acting in his or her official capacity.
(4) Nothing in this subsection shall be construed as preempting or preventing a State or local government from enacting a statute establishing gun free school zones as provided in this subsection.