From 1965 to about 1977, AMC's 2nd.-generation V8 was produced by International, in displacements of 290, 304, 343, 360, 390 and 401. All of them are identical in external dimensions, like small block Chevy engines. They're very good engines, particularly the 390 which was used in the AMX 2-seater coupe. The early ones were mated to Borg-Warner automatic transmissions similar to the Ford FMX, with a 4-speed manual transmission option for the AMX and some of the Javelin models. Later, AMC switched to a Chrysler Torqueflite transmission. If you do have an AMC engine, don't be in a hurry to swap it out. They're reliable and powerful, and it's not impossible to find go-fast parts for them. Most of the engines have the cubic inch displacement cast into the sides of the block about midway on both sides.
Jerry