engine shutting off periodically

when does it shut off? idle/part throttle/WOT & is that hot or cold