Both setups are good. I recommend the AMD one. Both CPUs behave almost the same in games.
The R9 290X is quite more powerful than the GTX 770 and has more memory that helps a lot with high resolutions, but more games are optimized for nVidia's GPU.
But for future proof, you must change the CPU platform, AM3+ is dead.
Saludos desde México.