Well I can tell you one thing for sure that's a wiper motor. Looks like a older chevy
It should have wiring like this Low and high. So you end up with 5 wire
Ground and supply and then 3 for speed changes. A little arm slipped over the shaft and had a bolt that locked it to those spines.
More then likely wired like this