when an engine does not start and you have spark and fuel disconnecting the MAF is a test to determine if the MAF is the problem.
maf has temp and air flow sensors these can cause no start.
some stores if the MAF does not fix it take it back.
another item is the ECT usually the connector to it gets damaged or the wiring then the PCM provides improper injector operation.
with the codes you have the ICM and coils are replaced as a set. bad coil can kill the ICM. ICM and coils work together.
why it runs good with MAF disconnected I don't understand . codes say ICM and coils. could be wiring to them. follow instructions on the ICM replacing .