they're both have good models, and they both have models that are poorly manufactured. On the upside, Mazda has the FD rx7, worth 15K over 15 years after it was released, and Toyota has the Supra, worth about 30K over 12 years later...both excellent examples of cars.
it's going to be your car, so it has to be your choice.