We propose a search for photoproduction of leptophobic bosons that couple to quarks at the GlueX experiment at Jefferson Lab. We study in detail a new gauge boson that couples to baryon number B, and estimate that γp → pB will provide the best sensitivity for B masses above 0.5 GeV. This search will also provide sensitivity to other proposed dark-sector states that couple to quarks. Finally, our results motivate a similar search for B boson electroproduction at the CLAS experiment.