Check for vac leaks, but the MAF can easily cause those issues.

Could be a short in the wiring for sure.