The suspect, armed with a rifle, boarded the bus full of children and told the driver to take him to the next town, authorities said.