Probably not an O2 sensor but it could be injectors. If the misfire codes are always on those two cylinders, then you could just swap the injectors to see if the misfire codes follow the injectors or not. If it’s the injectors, there are places that will clean them properly and do flow bench testing before/after.