Occasional rough idling

I have a 2000 Toyota Camry V6. After driving around for a while and returning home going up a hill, the engine starts to run roughly and seems like it’s going to die. This happens around once every couple of months. It runs fine the next day.