Repair cost for mds solenoid #6 on 2007 Chrysler Aspen

What should be cost to replace mds #6 solenoid on 2007 chrysler aspen 2 wheel drive 5.7L diagnose at dealer has been done

My dealership said it would cost $565. I bought the part on mopar overstock for $44, removed the intake manifold, (very carefully) pulled the not working MDS solenoid and placed the new one in the block. I was getting error code P3441 and P3497.