A university professor has been suspended and deemed a "potential risk to colleagues" after using the n-word while on campus.