2006 Jeep Liberty Internittent Starting

Hello, I have a 2006 Jeep Liberty and I have been having a starting problem. When I turn the key it does nothing. No sounds and does not turn over. I’ve replaced the starter and battery but still having the problem. The interesting thing is it will start sometimes while sitting for a day. Anyone familiar with this problem?