You CAN, but it'll toss codes due to the overdrive and lockup solenoids not working. Since the 5 speed doesn't have them.
A 5.2 ECU from 1994 or 1995 should fit and work; all that's really needed wiring wise is the two extra wires for injectors 7 and 8.
You'll also need a V8 flywheel and fan shroud. And I'd recommend if the motor isn't a 1994/1995, you upgrade to the 1994/1995 fuel injectors.