had a 2016 ranger 900xp. I used it mostly in winter with tracks for grooming, but some trail work as well. I liked it...but it wasn't for me and I always felt there was work I needed to do to IT, not the work I wanted to do. I did modify mine heavily, and I think I over-did it and soured my opinion on them. My ATV has been much better for my needs and is a Polaris also.
The battery is worthless. Absolute trash and if it isn't on a tender the thing will die within two days. This has been well documented on prcforum.com . Maybe this has been fixed, but lots of threads about battery issues.
If I were to get a UTV again, I'd get a straight worker, like the Kubota, FIL has one and loves it. Even the polaris Brutus, but I don't think I'd ever buy a Ranger again. I also wouldn't get a 540, but based on your history of use it would probably be enough for you and your needs.
IF you do get a Polaris, join that forum, and go find Greg (Toxic-21) The man is a literal Polaris Genius and will diagnose, help fix or find the part number to literally anything on your rig. That forum has some guys who know what is what.