From what I read, she would have returned if it was set before the ending that viewers got in End Game. Which I believe was in 1949. She didn't want to mess up the send-off Peggy got.
https://collider.com/ming-na-wen-int...nts-of-shield/
Ming-Na Wen interview