How much to replace the engine on 2000 Toyota Tundra

I need to have a engine put in my truck.

Asked by for the 2000 Toyota Tundra
new motor is about 4700 5yr 50k warranty
rebuilt motor is 3800 3yr 50k warranty
labor is 19 hours plus about 500 for accessories.