It depends on whether the FOAs are Program Announcements (PA, PAR, PAS or Parent) or Requests for Applications (RFA).
An application originally submitted as “new” to a Program Announcement may be resubmitted as an A1 (resubmission) to any other Program Announcement so long as that Program Announcement accepts resubmissions and you are within 37 months of the A0 (original) submission date.
For RFAs the situation is a little different. If you originally submitted to an RFA and want to resubmit to a Program Announcement, this will be considered a new application. Similarly, if your original application was submitted to a Program Announcement and you want to now submit to an RFA, it would also be considered a new application.