A judge granted a preliminary injunction Tuesday against the teachers union to end rolling sickouts.