A man, aged 35, has been given a four-year football banning order following an incident at a Middlesbrough.