What year? If its any relation to rangers of the early to mid 80s, the detachable bell housing should allow it to be bolted onto most other engines in gas powered trucks (assuming it did NOT use a factory adaptor plate like the ranger 2.2 diesels....). I think most of the transmissions from that era were made as one version or another of the mitubishi family and have a lot of similar DNA.
If I'm right, the only internal difference might be the gear spread being closer together in the diesel tranny.