2007 Dodge Magnum - Ignition issues

Sometimes my ignition will not start the car I replace the ignition I put in a new battery sometimes it seems like there’s no power other times it starts right up like nothing is wrong

Try starting it in Neutral.