Gray began his collegiate career at Blinn College in order to meet the academic requirements to play Division I football. As a freshman, he caught 15 passes for 409 yards and six touchdowns and was named first-team All-Southwest Junior College Football Conference.[5] Gray initially committed to transfer to TCU over offers from Auburn, Baylor, Texas Tech, and Tennessee for his final two seasons of eligibility during the summer before his sophomore season.[6] He finished the season with 54 receptions for 877 yards and eight touchdowns. During the season, Gray flipped his commitment to SMU.[7]
Gray became an immediate starter for SMU caught 33 passes for 448 yards and four touchdowns.[8] He was named first-team All-American Athletic Conference as a senior after finishing the season with 49 receptions for 803 yards and nine touchdowns.[9] Following the conclusion of the regular season, Gray announced his decision forgo his final season of NCAA eligibility and enter the 2022 NFL draft.[10]
Gray was selected by the San Francisco 49ers in the third round (105th overall) of the 2022 NFL Draft.[13] On December 11, in a 35–7 victory over the Tampa Bay Buccaneers, Gray recorded his first career reception, going for 10 yards on a pass from Josh Johnson.[14] He played in 13 games as a rookie, with his first career catch being his only reception on the year.