Do you know if the processor ryzen 7 5700G is compatible with the motherboard "TUF GAMING A520M-PLUS WIFI"? Because in the official list of Asus not show this processor.
It is possible that Asus hasn't updated its CPU SUPPORT LIST but I do see that it supports the Ryzen 7 5700GE which is 5700 series APU.
The processor side is probably supported but possibly the Graphic side or Integrated Graphics might be an issue.
But I suggest you open a Asus Chat session with Asus Support and ask them which BIOS Version supports the new 5700G APU Processor.