Knock Sensor to replace or not

I’ve had a few new parts in the last 2 years that flaked out within a year or didn’t work out of the box. I’d stay away from the budget lines they have. If it’s a lot of labor to install, try to get OEM.