Mahindra (2011)5035 HST TLB & (2016)2555 HST Cab & (2017)1526 HST(2018)Cub Cadet Pro Z 154L (1991) Caterpillar E70B
Need a side view next to a ruler. If it is big enough, could be a die for bending exhaust pipe or whatever.. Or maybe someone cast it just to mess with you...[[ ]] Quick uneducated search = MMI Engineering 4" radius die ....
Are the edges of the ends clean or do they appear to be ragged/broken off? If ragged, I would say it is a section of a pulley wheel from some old machine.
To me it looks like part of what was once a bushing for a slow moving shaft on a farm implement. For example the shaft that raises the implement out of the ground. They were often made out of cast iron and held in place with a piece of steel on each side. That's what the shoulder on each side would be for.