The resulting protein would likely change because proteins are built in a very specific order.
Switching alanine (which has a non-polar, hydrophobic side chain) with serine (which has a polar, hydrophilic side chain) can affect the protein's structure and function. Amino acids influence the folding, stability, and interaction of proteins, so even a single change can have significant effects on the protein's overall properties and activity.