will this look bad?

I was never really the sport type of person, but when I started weightlifting I grew an interest in track. And now I will be trying for the varsity track team. Would it be a red flag to colleges that I joined a varsity sport in junior year (its right before admissions)?

It is fine. It is not at all unusual for HS students to develop new interests as the years progress. If you are interested in track, go ahead and do it.

I don’t think it’ll be a red flag at all. You’re joining one sport, not 7 academic clubs (like math club, science club, ect)

It’s a great thing to do.

Not at all! You are doing things for the right reasons…because YOU became interested in them. You have decided to work on yourself and have discovered new pursuits. THat is the whole reason for ECs.