Wide receiver Robert Foster caught a 42-yard touchdown pass as the Buffalo Bills rallied to defeat the Detroit Lions 14-13 on Sunday.

Foster's second career touchdown reception came with 10:26 left to play with Buffalo trailing 13-7.

The touchdown reception not only lifted the Bills past the Lions, it also pushed Foster's receiving yardage past 100 on Sunday. Foster finished Sunday's game with four catches for 108 yards.

The performance meant Foster has recorded a 100-yard receiving game in three of his five games since returning from Buffalo’s practice squad.

In Foster’s first NFL start, he caught three passes for 105 yards in a 41-10 victory over the New York Jets on Nov. 11. Foster had Buffalo’s first 100-yard receiving game since Oct. 22, 2017 -- a span of 19 contests.

In his second NFL start, Foster caught seven passes for 104 yards in a 27-23 loss to the Jets on Dec. 9.

In the two Buffalo games between the two starts, Foster caught three passes for 121 yards, including a 75-yard touchdown reception.

On Dec. 4, the Bills released wide receivers Kelvin Benjamin and Andre Holmes to give their young ends more opportunities in the final month of the season, and Foster has registered 100-yard performances in both games since.

FOR MORE OF AL.COM’S COMPREHENSIVE COVERAGE OF THE NFL, GO TO OUR NFL PAGE

Foster earned a spot on the Buffalo roster coming out of the preseason as an undrafted rookie from Alabama. After Foster caught two passes for 30 yards in the first six games of the season, the Bills released the wide receiver and re-signed him for their practice squad, where he spent three weeks.

Since returning to the active roster, Foster has caught 17 passes for 438 yards -- an average of 25.8 yards per reception -- in five games.

In four seasons and 35 games at Alabama, Foster caught 35 passes for 389 yards and three touchdowns.

Mark Inabinett is a sports reporter for Alabama Media Group. Follow him on Twitter at @AMarkG1.