Montgomery Co. student charged with bringing gun to school, due in court Tuesday