I prefer COD5 to be honest, but then I'm more of a WW2 game fan than modern stuff.
To me, every assault rifle felt the same in COD4, whereas in COD5 the weapons have a distinctly different feel to them, and the bolt actions are nicely powerful.
COD4 probably has more players on it, but I remember seeing someone on my Steam the other day mention that there's barely any hackers on COD5.