Apparently this is because the hood sensor goes bad. It's connected to the passenger side hood latch at the front of the truck. I can buy a replacement sensor for about $12, and pay another $10 for shipping. I found forum posts indicating that it takes about 30 seconds to swap it out. Unfortunately, I'm not the most mechanically inclined, and I cannot figure out how to remove the sensor. Maybe I need to remove the latch. For that, I'd need to buy a new tool, since none of mine fit those holes in the mounting bolts.
Instead, I decided to do what other forum posters had done, short the circuit at the connector. Below is a photo of that connector. I merely connected the two contacts with a wire, then taped it up with electrical tape. I figure I can easily undo that and install a replacement sensor, once I figure out how to do that.
I also might take it to the dealer and have them fix it. But since I'm on my extended warranty, I prefer to collect a few items so that it exceeds the $100 deductible I'd have to pay.
Here are some links, but they're likely to dry up given the obscure topic.
LR Forum Threads: Thread1, Thread2, Thread3.
The part number is LR002794. This part appears to be superceded by a new part number: YUE500150.
Here's that part for sale on an online parts outlet: hood sensor part.
I've posted photos here. Also, I noticed that the link above to the sensor part at an online store leads to a puzzle. So here's
another site that sells the part.
Here are links to my other posts on this topic...