Student accused of making threats at school