The air mass sensor is an all-in-one unit. The amp is not seperate.
That said, removal and installation is a matter of loosening the clamps at each end and swapping out. Takes about five minutes total...easy DIY.
The engine management system will eventually recalibrate for the new sensor.
The sensor is a pricey unit (over $200)...and it sounds more like a fuel related issue to me...like the fuel accumulator...