Mary's (Zoe Perry) potential affair with Pastor Rob (Dan Byrd) in Young Sheldon season 5 has already been explained in The Big Bang Theory.
George still hasn't confronted her about catching them smoking together โ something that will expectedly factor in The Big Bang Theory prequel's upcoming storytelling as it revisits the Coopers' marital issues. So, while George has long been poised to be the problematic one in their relationship thanks to Sheldon's The Big Bang Theory stories about his dad, it shouldn't be all that surprising that Mary is capable of cheating as well. Sheldon's mother has a penchant for preaching what's in the bible but regularly breaks those tenets when she thinks no one is watching. In the outing "The Mommy Observation," Sheldon (Jim Parsons) accidentally caught Mary having sex with her boyfriend Ron. He confronted her about it, with Sheldon calling Mary a hypocrite after preaching about what's in the bible all these years. After not appearing for several episodes, Rob returns to the CBS family drama in the episode "Uncle Sheldon and a Hormonal Firecracker,โ when Mary confesses to him about Georgie's (Montana Jordan) Young Sheldon situation. But instead of developing that arc, Young Sheldon is setting up Mary's own affair with Youth Pastor Rob (Dan Byrd) instead.