Hey guys i have a nissan 300zx i have just bought its a 1991 N/a Automatic, i bought it to make it a project car as it had no rego and when i tested it everything was fine (or so i thought, im a 2nd year apprentice mechanic so i checked everything i could think off) a few days after getting the car registered and actually driving it i decided to put my foot down to see what im dealing with, the car went hard and everything seemed fine, a few minutes later the car just shuts off, no idea what happened and i pulled over, turned the key started right back up, didnt think much off it then just thought a dirty fuel filter so i went and replaced the filter still happened again, this time it took a while longer to start, like 2-3 mins, after i changed that i tried the fuel pump, no luck had the same problem and now im stuck not knowing anything about these cars, i scanned the car and got 4 codes, the Cam angle sensor, Maf sensor, Coolant temp sensor and knock sensor, i changed the coolant temp sensor since it was the cheapest and still not working, now i know what your thinking change the Maf and Cas sensor, the problem now is the car doesnt start at all, and i want to be sure that what im doing is actually right, i checked the car and found a vacuum leak and fixed it, is this a common problem? how can i tell if its a Maf or Cas some people are even saying the ptu, i have never owned a car this old i really like the 300s and its just been a bad expirience so far i just wanna turn that around

if anyone can give me any help at all or any ways to check what it is or fire the car up please post below and if anyone is selling any of these sensors let me know it means alot