DurgeDriven posted a good link.
The most important thing, by far, and even more-so with triple screens, is the graphics card.
Out of those two you listed, I definitely recommend the i5.
You definitely want a motherboard/CPU that has PCI-E 3.0. RFactor 2 is an extremely rare case in that it's framerates decrease quite substantially when being played with anything lower than 16x PCI-E 3.0. I therefore recommend any of the following Intel platforms:
- Ivy Bridge (eg. i5-3570K)
- Haswell (eg. i5-4670K)
- Devil's Canyon (eg. i5-4690K) - DC is pretty-much a slightly updated and superior Haswell
- Skylake (eg. i5-6600K)
If going with Ivy Bridge, make sure an older Sandy Bridge motherboard isn't used as most of them use the P67 chipset which won't support PCI-E 3.0 so make sure it's a "true" Ivy Bridge motherboard/chipset.
If you want to run SLI with RF2 then I highly recommend the "high-end"/workstation platforms in order to allow both GPUs to perform at full 16x PCI-E 3.0 speeds each since they mostly come with 40x PCI-E 3.0 lanes. These would be the following Intel platforms:
- Sandy Bridge-E (eg. i7-3820K) but it might be a little risky because a quick, 2 second registry hack needs to be done to enable PCI-E 3.0. I can't remember if the registry change works for every system or not.
- Ivy Bridge-E (eg. i7-4820K)
- Haswell-E (eg. i7-5930K). Avoid the i7-5820K as it only uses 24 PCI-E 3.0 lanes.
- Broadwell-E (coming soon)
In-case you're wondering why there's no Broadwell in the first list of Intel platforms, it's because Intel skipped releasing really fast, higher-end CPUs for the Broadwell line, waited longer, then went straight to Skylake. However, with their "high-end"/workstation line, they are still releasing Broadwell.