Non remote controlled ceiling fan turns off and on by itself
Sounds like a thermal cut if fan even has one.Running long periods of time motor getting to hot shuts down and when temp ok will run . If it is old fan may be best to replace fan.Motor may be on way out .