got charged 300 bucks to replace four spark plugs

okay here’s the deal, i drive a 2017 ford escape titanium and it started acting up last week shaking when idle. i took it to the shop to run a diagnostic. one of the spark plugs is off or something sorry lol i don’t know anything about cars. anyway my dad suggested i get all four changed and the shop quoted me 1000 to change all four plus all four ignition coils. is that too much? i need it done and they offer a 10 percent discount for students at the local college here and i ended up getting only the four spark plugs replaced. he said he’s getting them from ford so they are the same ones, still with labor it’s around 300 dollars. is this a rip off? because to what i’ve seen even the dealership will charge just as much, but the guy at the shop said he’ll get it done today and i REALLY need my car lmao. i don’t trust myself to change them myself and don’t have any car savvy friends.