Yes, a bad MAF sensor should trigger the CEL.
Did you get a scan? You may have DTC Code P0325 (Knock Sensor). The ECM and the KS work together to prevent knocking (pre-ignition) by retarding the ignition. If the KS is bad, the system will not know that there is pre-ignition but the ECM should set a fault code (but no CEL). The KS resistance is normally @ 550K ohm. It's also possible that the KS plastic housing is cracked.
Also, if you have not replaced the spark plugs, then they are due. The OEM plugs are rated up to 105K miles but most owners replace them at 60K or 90K miles. Hopefully, the coils are OK. I suggest that you buy OEM or better plugs. We have some issues with Bosch plugs, especially in the Q45.
Also, check the air intake and exhaust manifolds. Make sure you don't have any vacuum leak. With the engine running, spray Carb Cleaner (DO NOT use Brake Cleaner) on vacuum fittings and listen for engine response. Check air filter and replace if necessary. Clean the throttle valve. Use Carb Cleaner but do not spray directly into the TB as it could seep into the sensor assembly. Just spray it into a rag and then use it to clean the body and plate. Be gentle when moving the throttle plate.
An exhaust leak can cause the O2 sensor (s) signals to ECM go haywire.
Yes, the TPS could be a problem too but that should set a fault code.
Better have a scan so we are not shooting in the dark.
Attached is the link to the Maxima FSM. Refer to EC (Engine Control System chapter) to give you a better idea about what we're trying to fix as well as components R&R procedures.
http://www.nicoclub.com/FSM/maxima/1999/
HAPPY NEW YEAR TO YOU AND YOUR FAMILY!!!