1991 Dodge Dakota

Vehicle starts fine when cold. After running for a while it will die. When trying to restart it takes a while or will not start. Any reasons why?
1991 Dodge Dakota