me only instead of clearing the codes I would suggest you check your catalytic converter as well as the O2 Sensors. The behaviour you describe, could definitely be caused by those.
open