A man who carryied a gun on the University of Toledo campus during homecoming was sentenced to two years probation Wednesday.