Just picked up my Maverick Thursday and have been working on it since, mostly projects inspired by this forum. I've seen other bed lighting setups here but none with a magnetic switch connected to a relay, initially I wasn't planning on using a relay until getting the switch. Seeing the thin gauge wire, then reading reviews of them burning out from this application because too much current. So far very happy with how it's working, other than the odd behavior of the power timeout to the flexbed pigtail.
Magnetic switch positioned next to cutout for tailgate wiring, a rare earth magnet is positioned inside the tailgate to trigger when closed (got the idea from a post on this forum)
3D printed cover plate with hole for switch, painted black for better color match than the ASA plastic I printed. Found a STL file on Thingaverse but it wasn't even close to fitting so I started from scratch
Had the back of the truck opened up less than 24 hours after bringing it home
I made up a wiring diagram for future reference and to keep everything straight in my head. I'm not an electrician so it might not follow drawing conventions but makes sense to me.
This is the relay all wired up, I installed it in the cavity behind the taillight, bolted through an existing hole. I'm considering changing the power point timeout in forescan to keep the power on longer but haven't decided yet.
LED light strips: https://a.co/d/4cIY7pG
Illuminated switch: https://a.co/d/7ssUuFs
Magnetic switch: https://a.co/d/20JsUo4
Wire connectors: https://a.co/d/bYipA5g
Wire loom: https://a.co/d/atY8DBH
Zip ties: https://a.co/d/8pENj8J
Heat shrink tubing: https://a.co/d/e0AvYhT
Liquid electrical tape: https://www.harborfreight.com/4-fl-oz-liquid-electrical-tape-36821.html
Some of these things I had from other projects, others I bought to have extra for future projects, certainly don't need to buy the whole list for this project. I will say that I was not very impressed with the quality of the waterproof connectors and probably wouldn't use them again.