If your truck does not have any damage or body repairs that would have changed the gap over time, you can adjust the hood by loosening the bolts that attach the hood to hinges in the engine bay. The hinges should have elongated holes that allow adjustment for the hood itself. It may take a few tries to get the spacing you want and not have any hood latch issues or the gap being narrowed too much rubbing the cabin when opened.