There is a metal gasket between the two intake manifold halves and if someone inverted it upon replacement that could cause an intake air flow leak that is screwing with your O2 sensor's actions. Thinks fuel mixture is too lean, then it's too rich, then it compensates again. Have a garage give it a smoke test to see where the leak is.