Can you put a 1994 thunderbird motor in a 1996 thunderbird?

Can you put a 1994 thunderbird motor in a 1996 thunderbird?