Well, if you have a good TV you use for your xbox, it might make sense to use it with your PC. That'd leave a significantly bigger budget for the PC. Do you plan to do anything else with the PC?
For just an iRacing PC using the TV and a 1k budget:
https://pcpartpicker.com/list/VpPP9J
and get one of these:
For just iRacing and with a monitor:
https://pcpartpicker.com/list/8bJhGG
If you have some other uses, it may change the recommendation.