Air admittance valves such as these 'auto-vents' are prefectly code compliant and recognized and accepted in most national plumbing codes. See for example Section P3114.1 and P3104.1.
They work as described above by allowing fresh air in but not allowing sewer gases to escape into the house.
The problem with your set-up is that these same codes and manufacturer installation instructions can require sewer ejector pumps to be sealed and SEPARATELY VENTED TO THE OUTSIDE.
This means that a sewer ejector pump must usually have their own separate vent directly to the outside that is not shared with any other fixture or appliance.
What this means is that a sewer ejector in most cases cannot be vented along with a toilet on a shared vent, and the sewer ejector cannot have an air admittance valve.
An air admittance valve for the toilet is just fine.
For the ejector it is usually not.
As already stated, check with your local code office.
While the air admittance valve will likely be allowed for you toilet, it will likely not be permitted for use with the sewer ejector.