The 18-year-old allegedly tried to buy an assault rifle, intending to harm shoppers at the Minnesota mall, according to court records.