newer 904 to older slant

The transmission may bolt up with no problem, but the torque converter may have the wrong pilot size and therefore not mate into the engine. I'm not familiar with the 1980 904, however if you need a custom torque converter "chris's transmissions" high performance shop that can build you a custom one for around $300.