Same issue I had. Here is the part you need. Fyi, it is unpainted.
[ame]https://www.amazon.com/gp/product/B00BFE22P6/ref=oh_aui_detailpage_o08_s00?ie=UTF8&psc=1[/ame]
I've yet to do the actual fix, but there is a writeup somewhere on here. There is also a video on youtube. Try searching "nissan titan tailgate hinge fix," or something along those lines. From what I recall, the worst part was getting the torx bolt loose, as it's one of those parts that the good old factory gorilla tightened down. The rest is fairly simple.