Been there...had those codes...wrote this
checkenginelightcausedbymassairflowsensor - mikefocke2
and mine wasn't the MAF but it could have been. The flow chart and system diagrams will give you an idea of the complexity of the systems involved and the diagnostic steps.