The charges stem from a Feb. 25 incident in which shots were fired at Antonio Leon Mooney shortly before noon. Police say a man fired three shots at Mooney in the 400 block of Park Place.
Detective Mark Holtzman, of the Hagerstown Police Department, said Thomas can waive extradition proceedings and return to Hagerstown to face the charges or fight extradition in Martinsburg. Most defendants waive extradition proceedings, he said.
Holtzman said police knew Thomas spent time in Martinsburg.
"They picked him up solely on our warrant," he said. "We knew he frequented that area."
According to court documents, Mooney was chased by a group of men. As he fled between two houses, he was followed by a man who fired several shots, court records say.
Police later found three spent shell casings from a 9mm handgun in the rear yard of a home in the 400 block of Park Place, according to court records. Police also found a building in the 440 block of North Jonathan Street that had been struck by a stray bullet.
Mooney later picked from an array of six photographs a picture of the man he alleged was his assailant, court documents say.
Thomas was found in the area of Charles Street in Martinsburg at about 2:30 p.m. Tuesday, said Martinsburg Police Detective George Swartwood.
Holtzman said police were still investigating the incident.
"There's some other names of other people we are looking at," he said. "Right now, it's a little early."
Mooney was the target of bullets once before. Last Dec. 19, he was hit twice by shots fired from a small-caliber weapon as he stood in the rear parking lot at 920 W. Washington St., Hagerstown.
A Martinsburg man was charged in that incident.
Mooney also was injured on Nov. 16 at the corner of Raleigh and Race streets in Martinsburg. In that scuffle, he was hospitalized when he was hit in the head with a real estate sign.
Staff Writer Dave McMillion contributed to this story.