You can’t change markers in swarmplot
directly—overlay them with ax.scatter
instead
ax = sns.swarmplot(data=df, x="value", y="letter", hue="type")
highlight = df[df["letter"].isin(["AB","AE"])]
ax.scatter(highlight["value"], highlight["letter"], marker="*", s=200, c="black")