Check the signal at its source
The mass airflow (MAF) sensor is what code P0104 is reporting on — specifically, the signal drops out or changes unexpectedly rather than failing in one fixed way. This points to an area, not a confirmed cause.
How to tell the paths apart: Read the live data and compare it against the expected range for current conditions before replacing anything.