Student accused of threatening school violence