A rail service popular with schoolchildren will be reinstated after a landslip closed the line, forcing school-run parents onto the roads.