Engine swap

I have a 1965 barracuda with a 273 ci 180 hp LA904 . I’m thinking to swap it out the 273 with a 340 “ if I can find one”. My question is will LA 904 bolt up to the 340 block.