The i5-7400 would work too, it's only slightly slower than the Ryzen one I showed but \o/
It does also cost a little less but has less cores.
If hurting on money i5-7400 or an i5-7500 which is slightly faster than the 7400 for like $20 more.
Quite a bit of options to choose from but yea.
What type of RAM do you have? If you're currently running DDR3 then it won't work with a new mobo that only supports DDR4 so you will maybe need new RAM.