The airflow meter is mounted above the throttle unit, which are connected via a rubber air duct. The throttle unit is bolted to the intake manifold plenum, from which the intake runners rise up to the cylinder ports.
Using this rubber air duct as a guide, if the sensor you are testing is above that, it is the airflow meter sensor, if below, the throttle valve switch. The former is a potentiometer that should vary smoothly as you push down the sensor plate below the air cleaner. The latter should close contacts (two pins shorted together) with the throttle at idle, and close other contacts with the throttle full open. In between all pins should be open to the others.
Do not confuse the airflow sensor plate with the throttle - it is in no way connected to the throttle linkage.