Are you planning to solder it up yourself?
Rewiring budget guitars can take you into a total minefield… The pickups in an Affinity are sort of minimally decent, and don’t worry about a spot of rust. But, the switch is almost certainly rubbish (they do vary, Fender seem to just stick in whatever is lying around)
If you get into replacing pickups, well, you’re adding a lot of expense obviously but also there’s little point retaining any of the remaining parts- Squier pots are also usually cheap, and if the pickups are rusted there’s a decent chance there’ll be corrosion on the tracks too. So you end up with a total rebuild which will, done well with new parts, cost as much as a totally new, higher quality guitar.
But, it’s nice to revive a dead guitar. I’d really suggest you just do the switch at first- if you can solder it yourself especially. After that, if you want to do the pups check ebay as there’s a good second hand market, people are always shuffling pickups.
But do consider it as a whole. Affinities aren’t bad guitars at all but they can be very variable… How does the neck feel as it is? Rebuilding guitars is an addiction, it’s all too easy to throw good money after bad if you’re not careful