Hood Ajar Switch
WARNING: This page is about a different car, the 2018 Ford F-550 Super Duty, 2018 Ford F-450 Super Duty, 2018 Ford F-350 Super Duty, and 2018 Ford F-250 Super Duty. However, it is still accessible from the selected car via links, so may be relevant.
The hood ajar switch is a single pole switch (integrated into the hood latch) that is normally closed when the hood is closed. When the hood is opened, the hood ajar switch opens to indicate an open hood.
The BCM sends a signal to the hood ajar switch, and based on the input, the BCM determines if the hood is open or closed.