Is O2 sensor a maintenance item? I have 2000 Toyota Camry with 328,000 miles free from a friend and do not think my friend changed O2 sensor ever. Now no check engine code. I wonder I should replace it with a new sensor. Thanks,

NO, theoretically they can last forever as they don't deplete the platinum as they work. I would leave it alone if it runs fine