2wd vs 4wd in 2004 GMC Yukon

is a 2wd with traction control in a yukon better than 4wd

No, it isn’t better than 4WD. BUT, do you really NEED 4WD? Very few really do need it but think they do.

Do you want to go off-roading? Do you regularly drive through a foot or more of snow?

Most folks would get along just fine with 2WD and traction control. Better fuel mileage, less things to go wrong.