CoD4, according to the blunt answer. It is also the more defensible pick.
Call of Duty 4 refined the series' multiplayer into something close to its definitive form. The create-a-class system, killstreaks and the specific weight of its gunplay set a template that the genre followed for years afterwards. Its campaign is also short and tightly constructed, with a run of set pieces that are still well regarded.
World at War returned to World War II and leaned harder into brutality. Its single-player is solid, and it introduced Zombies, which became a franchise of its own. But the multiplayer felt like a step back from Modern Warfare's in most respects.
If you want the better game overall, CoD4. If you specifically want Zombies, World at War is the only option between them. That is really the whole decision — everything else favours the earlier title, and it is the one that had the larger influence on what came after.