around how much would it cost to swap out a engine? on 1997 Toyota Tacoma

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
i found 1 online with low miles and would like to swap it out with the old 1..
(1) Answer
depends on what engine it is and if it has ac and 4wheel drive and if it a stndard or automatic