Is there a maximum number of years allowed for receiving federal support?

Yes. The maximum number of years an individual can receive NRSA (National Research Service Award) support (including NIOSH traineeships and NIH Fellowships from all schools attended) is:  five years pre-doctoral and three years post-doctoral (for both institutional and individual awards), unless a waiver is granted.