Montgomery County school superintendent Edward Andrews, who announced his resignation last September, said yesterday that he has accepted a teaching position in the University of Maryland's Department of Education at the College Park campus.

Andrews, who earned $74,000 as school superintendent, was a popular administrator whose image remained untarnished during his three-year tenure despite a series of bitter school board controversies. An employe of the county school system for 26 years, Andrews will be eligible for retirement benefits that school system sources have estimated at $30,000 annually. Additional benefits accumulated from unused sick leave could amount to close to $40,000 more, according to one school official.

Andrews, who will begin his new job in August, said he has a three-year contract as visiting professor at Maryland that will involve teaching, research, and working in a graduate program that trains supervisors, principals, and other potential school administrators.

"I'm really enthusiastic," he said, adding that he will have two months of vacation each year to devote to his tennis and golf games. "I'm tickled."

Andrews resigned a year before his four-year term expired because, he said, he was fatigued by 70-hour work weeks and the continuous stress of the job. He had accepted the position reluctantly--first as acting superintendent--after the old school board fired Charles M. Bernardo in 1978. Andrews was the only candidate acceptable to the board.

Andrews said that in searching for a new job, he turned down offers from other local institutions, positions with two national education groups, and a top-level position in the county government, and decided instead to return to Maryland, where he got his master's and doctoral degrees after graduating from Frostburg State.

Known for his low-key style and mastery of politics, Andrews, 47, had fundamental philosophical differences with the majority of the old school board on controversial school closing matters and racial integration issues. The old board majority was defeated in last November's election.

Earlier this week the new board announced that Wilmer S. Cody, the superintendent of the Birmingham school system, was the leading candidate to replace Andrews. Cody is an expert in school desegregation, an area of growing concern in heavily minority sections of Montgomery County, such as lower Silver Spring.

Andrews climbed the ranks in Montgomery, beginning as an English teacher at Sherwood High School and by the mid-1970s had become one of the prime architects of the county's voluntary efforts at school desegregation.