How many programmers realistically would it take to make a high end game in UE4?

It’s impossible to know really, you would need a lot more information for a programmer to give an estimate

As an example, Gears of War had like 20 developers total. Some things don’t need a ton of people.