Austin Trainor

Quarterback Austin Trainor, here with Florida A&M in 2011, signed with the Buffalo Bills on Sunday, his agent said.

(Brian Blanco | The Associated Press)

The Buffalo Bills have added a fourth quarterback to their roster before their fourth and final preseason game.

On Sunday, David Cantor shared on Twitter that the Bills had signed quarterback Austin Trainor.

Congratulations to #TeamDEC client QB Austin Trainor on signing with @buffalobills today.! May see some snaps Thursday. Dreams do come true — DEC Management (@davidcanter) August 28, 2016

The team confirmed the move later Sunday morning.

Trainor's signing makes sense as the Bills aren't likely to play their starters for very long against the Detroit Lions, and Cardale Jones' status for the game is unknown as he deals with shoulder soreness. By signing Trainor, the Bills won't need to play EJ Manuel for an extended period of time.

Trainor started his collegiate career with Florida A&M but transferred to West Georgia for two years. He went undrafted in the 2015 NFL draft and attended Buffalo's rookie minicamp on a tryout basis in 2015.

He most recently played for the Fall Experimental Football League with the Florida Backtips.