In a large bowl add the flour. Pat the shrimp dry and add them to the bowl of flour. Toss them in the flour to coat them well.
In a separate medium sized bowl whisk the egg and add the milk.
In another medium sized bowl combine the bread crumbs, salt, basil, parsley, garlic powder, and onion powder and whisk to combine well.
Take one shrimp from the flour mixture and dip it into egg mixture and then press it into the seasoned bread crumbs. Gently toss between your hands so any bread crumbs that don't stick can fall away.
Place the breaded shrimp onto a plate while breading the rest; do not stack the shrimp.
Lightly spray the air fryer basket with cooking spray.
Air fry the popcorn shrimp at 400F for 4 minutes making sure that they do not overlap and are not very crowded. Flip the shrimp and air fry for an other 4 minutes. Repeat with the rest of the shrimp. They should look golden and crispy!
Serve immediately with your favorite sweet chili sauce or marinara sauce.