#include <bits/stdc++.h>
using namespace std;
string ans = "abacaba";
int n;
bool check(string &s) {
  int cnt = 0;
  for (int i = 0; i + 7 <= n; i++)
    if (s.substr(i, 7) == ans) cnt++;
  return cnt == 1;
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    cin >> n;
    string s;
    cin >> s;
    int flag1 = 0;
    for (int i = 0; i + 7 <= n; i++) {
      string ss = s;
      int flag2 = 0;
      for (int j = i; j < i + 7; j++) {
        if (ss[j] != ans[j - i] && ss[j] != '?') {
          flag2 = 1;
          break;
        }
        ss[j] = ans[j - i];
      }
      if (!flag2 && check(ss)) {
        for (int j = 0; j < n; j++)
          if (ss[j] == '?') ss[j] = 'd';
        cout << "Yes" << endl;
        cout << ss << endl;
        flag1 = 1;
        break;
      }
    }
    if (!flag1) cout << "No" << endl;
  }
}
