that completely depends on condition of the motor.
when i did my 3.4L swap, i went and checked out a rolled 99 tacoma. Listened to it run, did a compression test, and when deciding everything seemed good i pulled the motor, paid and took it home.
i believe it had 130,000 miles on it. i paid 800 for it, for everything motor related except for exhast from the cat forward.