"Intake Valve Timing Control Position Sensor, RH Bank 2" wouldn't think it would be too much to fix on this car.
Trouble code P0400 means:Exhaust gas recirculation-flow malfunction
code 1195 is dealer specific if you look up code 0195 it is more general but will tell you what the problem is
you will have to get from Mazda or buy a used one
Click the link.
exhaust gas recirculation flow insuficient
you needs a dpfe sensor
You need OBD2 reader or scanner to get the codes
Trouble code P0768 means: Shift solenoid D electrical problem
Trouble code P0171 means:System too lean (bank 1)
P0455 code for mazda Protede... Evaporative Emission System Leak Detected (gross leak/ no flow)
Trouble code P0170 means:Fuel trim malfunction (bank 1)
Trouble code P0420 means:Catalyst system efficiency below threshold