A man has been charged after a taxi driver was threatened with a firearm in Dungannon.