The legislation would raise the minimum age to purchase a semi-automatic rifle from 18 to 21, outlaw both ghost guns and high-capacity magazines, and institute a federal “red flag law” to prohibit a potentially dangerous individual from purchasing or possessing a firearm.