Trumps term does not end until January ! The same for congress ! There is plenty of time, Trumps choice most likely has already been made he just has to announce her, Republicans play the long game not like the Dems !RIP RBG - I'm all about women on the SCOTUS. She definitely held on to the end.
I don't think there is any chance in hell the position would be filled by election day. No time for the confirmation hearings, much less a nomination of a candidate.