The incident occurred Sunday in the 7600-block of South Cicero Avenue.
Police said the 24-year-old victim was approach by the two suspects, one of whom produced a handgun and fired. The victim returned fire and shot one of the suspects in the thigh, police said.
Police said the victim is a valid FOID/CCL holder.
The two suspects were arrested in the 7400-block of South Cicero Avenue and the 2700-block of West 68th Street Sunday night, police said.
Tuesday morning, police said, 21-year-old Anton Cheeks and 18-year-old Travell Quadir Deal, have each been charged with attempted vehicular carjacking and are due in bond court Tuesday.