Welcome to JustAnswer, my name is XXXXX XXXXX X'm here to help get your problem resolved. Ask follow up questions, thanks.
Access wires to ignition switch yellow and red wires should have voltage when key is in crank position, if only red wire does replace Ignition switch.......If good acccess transmission range sensor both purple wires should have voltage with key in crank position, if only one replace. Here is a wire diagram to help, let me know if you run into questions. Thanks.