For example, a 5.7L Hemi in a Dodge Ram truck might have a different transmission than a 5.7L engine in a Toyota Tundra. Even within the same model line, different years might have different transmission options.
To know the correct transmission, you need to specify the make, model, and year of the vehicle.