During normal driving the amount of heat soak is less than during a period of enthusiastic driving such as you describe.
This heat soak is sufficient to cause the cracks to open a little more (due to thermal expansion) and interfere with the signal and hence ignition control. This is what causes the misfire...
When you stop it doesn't take long for the sensor (not the whole engine necessarily) to cool enough for the cracks to close enough for normal operation.
Eventually the sensor will degrade enough that even normal operating temperatures, initially in summer, then all the time, will have the same symptoms.
The only real question is which sensor is it?... the Cam or Crank?
Then Murphy or his mate O'toole show up with a dodgy connector or wire...
