Part of a windmill.
windmills can use wooden sucker rods and that is the metal connection for joining another link.
That kinda makes sense. I forgot to mention that was rotted out wood inside it.
I think it is part of a water well windmill pump. Instead of a metal sucker rod it used a wooden one on top above ground. A metal sucker rod screwed on to the threads that went inside of the pipe. My guess it is homemade by a blacksmith.
That is pretty cool. Found it on top of a hill next to the pens for running cows so that would also make sense as to where the location of it was. Windmill is long gone but interesting none the less.