Can I put a 4 cylinder motor and transmission from a 1993 ford ranger, into a 1994 ford ranger that has a blown 6 cylinder motor currently?

Can I put a 4 cylinder motor and transmission from a 1993 ford ranger, into a 1994 ford ranger that has a blown 6 cylinder motor currently?

No

Probably, but different wiring harness, different ECU, possibly a different gear ratio (rear end), and a host of other things that will nickle and dime you to the point you wished you just rebuilt the 6 cylinder engine

Yes.