A 35-year-old man was shot in the legs in the incident in the Drumcree area of the town.  It happened at about 17:40 BST on Sunday, 5 June.
Two men wearing balaclavas and camouflage jackets, one armed with a handgun, attacked the man in a house.
The accused is to appear at Dungannon Magistrates Court on Wednesday morning.
A 32-year-old man has been charged with attempted murder over a shooting in Cookstown, County Tyrone, earlier this month.