Yeah, first check should be battery and terminal connection, batt should have 12.3 to 12.5 volts, then check when running (after start up), should be at least 14 volts. Now if all that checks out, if or when it is a "no start", (if you have a battery charger) attach it to the battery, put on high and check battery voltage, if above 15.3~16 volts, then the batt is "Sulfated" and needs replacing. (sulfated is when sediments "Clog" the plate structure and keeps the charge from penetrating deep into the plates). Now if all that is good, then check the ground connections, it is a common problem, you can search YouTube and find a bunch of info on that.
Normally a 2018 truck would have already "Expose" a grounding issue due to age, but it still could be be!