A 40-year-old man was arrested Thursday after allegedly impersonating an Immigration and Customs Enforcement agent and attacking the general manager of a La Jolla McDonald's restaurant.