94 400l (w948140) speedo issues

I’ve got a 94 400l 4×4 without a speedometer, I’ve got a replacement but it’s from a 07 Kodiak 350. I was told it pretty much the some but the wiring is definitely different. Would someone have a wire diagram on this or know how I could jimmy rig this this work? Any help is appreciated.
Thank