Man charged with aggravated unlawful use of a weapon