UFC officials announced the flyweight contest on Wednesday. The televised event will take place at Tingley Coliseum.
Dodson (15-6) is 4-1 in the UFC. His only loss came via unanimous decision to Demetrious Johnson in a January 2013 title fight. He scored a first-round knockout over Darrell Montague in his last performance at UFC 166 in October.
Dodson, the winner of the 14th season of "The Ultimate Fighter" reality series, trains out of Jackson's Mixed Martial Arts in Albuquerque.
Moraga (14-2) is coming off a split decision win over Dustin Ortiz in January. The Phoenix-based flyweight also fought Johnson for the UFC title in 2013. Moraga lost the bout in the fifth round via submission.
A lightweight bout between former champion Ben Henderson and Rustam Khabilov is scheduled to headline the June 7 event.