Both are about eccentric teachers who help bring hope to children who have lost all hope. Akahan no Sensei is more realistic in it's approach, where though the teacher excited, he lives in a very real world. so nothing is sugar coated.
Both are dramas about teachers protecting students from adults and the scary world that's trying to take advantage of them at the expense of their own well being.