If it cuts out @ 3500rpm then the MAFS is toast… try swapping it out with another (SOHC KA MAF) and see if the problem goes away.
You can also check the ECU and see if its spitting out any codes because if the MAFS is indeed faulty then it should be spitting out a code 12 (air flow meter)