A man police said was wanted for aggravated assault in a shooting in Darnestown Thursday night was struck by a train and killed early yesterday in Gaithersburg.

Montgomery County police said the body of Gene Sylvester Cann, 35, was discovered shortly before 8 a.m. on the Baltimore and Ohio railroad tracks near Seneca State Park, between Game Preserve and Waring Station roads.

Dective Tony Bendl of the Germantown police district said Cann, who had no fixed address, was the suspect in the wounding of Gean Morland Harvey, 55, of 13000 block of Chestnut Oak Road. Mrs. Harvey, who was in good condition at Surburban Hospital after surgery yesterday, was shot by a man who broke a window in the kitchen of her house about 8:30 p.m. Thursday and argued with family members. The detective said the assailant fired one shot from a sawed-off shotgun, and struggled with victim's husband, before fleeing.

Police said Cann was a former boyfriedn of Mrs. Harvey's 25-year-old daughter, Dana, who was in the house at the time of the shooting.

An investigator for the B&O said Cann's injuries indicated he had tried unsuccessfuly to hop aboard a passing D.C.-bound freight train.