That is not a default. It may have had a sensor gone bad, or the light may be burnt out on the dash. Either way it is nothing to blame Toyota for, the car is 12 years old.
You can buy an engine at any local salvage yard, or online from ebay,
www.car-parts.com, or a local parts supplier (autozone, Napa, etc)
What caused it to fail, what broke, and how many miles on it.