Your team members are mostly fine— the EVs and move-sets need a bit of refining.
Necrozma-Dusk-Mane @ Weakness Policy
Ability: Prism Armor
EVs: 252 HP / 4 Atk / 252 SpD
Careful Nature
- Sunsteel Strike
- Photon Geyser
- Earthquake
- Morning Sun
Weakness Policy and 252 HP/252 SpD EVs? That's not generally a good one— you had wanted to invest maximum EVs in Atk and Spe. And why Morning Sun? It's generally a lot better go for full coverage rather than defensive moves on a sweeper. Hence, change the EVs to 252 Atk / 4 SpD/ 252 Spe. Replace Morning Sun with Rock Polish so that you can boost your abysmal 77 Spe BST to outspeed much more Pokemon. Photon Geyser is unnecessary on non-Ultranecrozium sets. Consider Stone Edge so that to hit Ho-Oh and Yveltal hard.
Necrozma-Dusk-Mane @ Weakness Policy
Ability: Prism Armor
EVs: 252 Atk / 4 SpD / 252 Spe
Jolly Nature
- Rock Polish
- Sunsteel Strike
- Stone Edge
- Earthquake
With this EV spread, Dusk Mane at +2 outspeeds all Choice Scarfer and faster than all +1 Speed tiers except +1 Positive nature Nagandel which can't really hit you regardless.
Source
This post mentions all the speed tiers in Gen 7 AG. It's good to read it once before making a team.
Now, instead of fixing the team it's better to build around this Pokemon. Firstly, we shall know what offensive core works well with Necrozma-Dusk-Mane.
Offensive Cores
Necrozma-Dusk-Mane + Zygarde-Complete
Necrozma-Dusk-Mane + Mega Rayquaza + Xerneas
Source
Let's start with Mega Pokemon. Why use Mega-Lopunny? It's not good at all— a niche pick over the solid Mega-Rayquaza. So, replace M-Loppuny with it.
Rayquaza-Mega @ Life Orb
Ability: Delta Stream
EVs: 252 Atk / 4 SpD/ 252 Spe
Adamant Nature
- Dragon Dance
- Dragon Ascent
- Extreme Speed
- V-create
It's a AG tier Pokemon, and its the most broken Pokemon of its time. Every good team needs a defensive Arceus-forme to deal with this, because how much crazy damage it can do. Dragon Ascent allows it to mega-evolve. Dragon Dance boosts its Atk and mediocre Spe to higher levels, generally allowing to deal with bulky Pokemon easier. Extreme Speed is reliable priority, and has decent BP of 80. V-Create is to roast steel-types, and it's pretty much a OHKO to anything if super effective.
Your team as of now:
+
Yveltal's set is really weird ngl, those EVs won't work generally and you're outspeed by many threats. I suggest a Choice Scarf set which notably fixes the match-up against Swords Dance Ultra-Necro.
Yveltal @ Choice Scarf
Ability: Dark Aura
EVs: 252 SpA / 4 SpD / 252 Spe
Modest Nature
- Dark Pulse
- Oblivion Wing
- Foul Play
- U-turn
Dark Pulse and Oblivion Wing are STAB, Foul Play hits boosted Atk sweepers hard while U-Turn does work good as a pivot.
Yveltal's weakness to Stealth Rocks is however unignorable. You had wanted a Defogger since Stealth Rocks is the most common hazard in AG.
+
Yveltal handles Necrozma-Dusk Mane, while Arceus-Fairy takes care of physical attackers that threaten Yveltal along with providing Defog support. Here's the set:
Arceus-Fairy @ Pixie Plate
Ability: Multitype
EVs: 248 HP / 244 Def / 16 Spe
Bold Nature
- Judgment
- Recover
- Defog
- Toxic
16 Spe allows to outspeed Neutral nature 252 Spe Base 90s. Toxic is to punish and to spread status, Defog helps to clear Stealth Rocks which are a problem for two of the members. Judgement is STAB while Recover is for healing.
Final two members:
Primal Groudon + Marshadow.
Primal Groudon's EVs are unbalanced— you had wanted all of them to go to Special defense for walling Xerneas and Primal Kyogre. It is also your main Stealth Rock setter, as well.
Groudon @ Red Orb
Ability: Drought
EVs: 252 HP / 56 Def / 200 SpD
Relaxed Nature
- Stealth Rock
- Precipice Blades
- Overheat
- Rest
Finally, you had never wanted that set on Marshadow. It's very gimmicky, will not let you even cross 1500 in ladder. So, get a better set for it!
Marshadow @ Life Orb
Ability: Technician
EVs: 252 Atk / 4 SpD / 252 Spe
Jolly Nature
- Spectral Thief
- Shadow Sneak
- Close Combat
- Pursuit
Spectral Thief is STAB, Shadow Sneak is priority to finish weakened Pokemon. Close Combat has high BP, while Pursuit traps Lunala, Arceus-Ghost, U-Necro and other things, doing a lot of damage meanwhile. Life Orb allows to deal a much higher damage than Focus Sash does.
Updated team
Hope this helps!