Trouble with fan relay

My 2014 XP 1 K with 1500 miles just started having problem with getting too hot at first fan kicks on at 204 then cools right down ,but after it cycles a few times gets up to 212 then cycles on then up to 220 and finally gets to where engine light comes on before it cycles. Let it set and cool down and same thing. Replaced relay cleaned contacts. Any suggestions?