A cosmetology student was arrested Monday after she threatened to "shoot up" her school over a dress code violation, the Pinellas County Sheriff's Office said.