Can I make a 5.9 magnum work in a 91 ramcharger with 91 fuel injection?

I think it would work but probably wouldn't be optimal.