Gray is a strong central defender whose previous clubs include Sheffield Wednesday, Grimsby Town and Gainsborough Trinity.
He has made over 100 appearances in total for Ferriby.