I'd go with a Ryzen 2400G if I can get it for under $150 instead of throwing a new GPU at a pre-Ryzen AMD platform, then save for a GTX1660 or whatever AMD's nearest performance Navi equivalent will be.
A regular GTX 1050 would be about the highest without a bottleneck. Even then it will probably bottleneck a little bit. I had a Phenom II x4 820 that I gave to a family member that I used as a backup PC for a few years.
I'd go with a Ryzen 2400G if I can get it for under $150 instead of throwing a new GPU at a pre-Ryzen AMD platform, then save for a GTX1660 or whatever AMD's nearest performance Navi equivalent will be.