Chosen Solution

I recently bought an iPhone 7 that was being used on AT&T and was wondering if it can work on straight talk.

Yes, just replace the SIM card, this will be provided by the new provider and you only have to open the SIM card slot on the side of the phone, a paperclip can do this