My car needs a Mass Airflow Sensor. Can I, or should I, drive it locally ?? on 1998 Nissan Altima

It was riding alittle rough, mechanic said to remove air filter, that did help. I just don't want to make matters worse, until I purchase part needed.

Asked by for the 1998 Nissan Altima
Depending on how the sensor is reading wrong I don't recommend driving it much. There is a possibility of the vehicle causing damage to the catalytic convertors due to it not having the proper fuel / air mix. To replace the convertors will be even more expense for they are not cheep.
Well don't need anymore expenses. Thank You