fill the role of someone or something with a replacement
take the place of
For the next few days Mr. Miller will take the place of our history teacher, Mrs. Harper, who is sick.