2006 Polaris Ranger

I just inheritied a 2006 Ranger that has been sitting up. Installed new battery and filled tank with premium gas. Will run for 1/2 mile or so then stall out. Crank back up and do the same thing. Also doesnt idle very well at all and a bit hard to start. Just hoping for some advice on where to start. Thanks so much. And it has right at 2000 hrs

Also when it does start choking down and seems to be starving for fuel, it smokes from the exhaust pretty well ?